The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
error in running shell script in cron sari Shell Programming and Scripting 3 04-16-2008 04:09 AM
cron entry error capeme Shell Programming and Scripting 6 10-26-2006 09:05 AM
mmap error - only when from cron?!?!? Bicks Filesystems, Disks and Memory 1 08-01-2006 01:12 PM
LAuS error messages in /var/log/cron soliberus Red Hat 1 05-18-2006 10:43 AM
Script/cron error Bab00shka UNIX for Dummies Questions & Answers 1 06-12-2002 06:41 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-25-2006
capeme capeme is offline
Registered User
  
 

Join Date: Oct 2006
Posts: 25
cron error

I am using the following cron entry to run a cron job every 4 hours and
it is rejecting it:

0 */4 * * * /home/location/scriptname

When I put this entry in cron is errors with: 0481-079 reached a symbol that is not expected.

This is an AIX 5.3 system

Any ideas?

Thanks
  #2 (permalink)  
Old 10-25-2006
BOFH BOFH is offline Forum Advisor  
Registered User
  
 

Join Date: Feb 2005
Location: Broomfield, CO
Posts: 406
I'm pretty sure the */4 is a linux convention and can't be used in AIX.

Carl
  #3 (permalink)  
Old 10-25-2006
capeme capeme is offline
Registered User
  
 

Join Date: Oct 2006
Posts: 25
Any idea what the same thing woudl be in AIX?? I wnat this to run every 4 hours??
  #4 (permalink)  
Old 10-25-2006
BOFH BOFH is offline Forum Advisor  
Registered User
  
 

Join Date: Feb 2005
Location: Broomfield, CO
Posts: 406
You'll just have to put in the times:

Code:
0 0,4,8,12,16,20 * * * /home/location/scriptname
Carl
  #5 (permalink)  
Old 10-25-2006
capeme capeme is offline
Registered User
  
 

Join Date: Oct 2006
Posts: 25
Okay - thanks I will try that.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 10:18 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0