![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| crontab couldn't run through, help | duke0001 | UNIX for Advanced & Expert Users | 10 | 02-06-2008 12:22 AM |
| help with crontab | bob122480 | Shell Programming and Scripting | 3 | 01-22-2007 05:49 PM |
| Crontab | gen4ik | UNIX for Dummies Questions & Answers | 1 | 01-18-2007 04:26 AM |
| ftp and crontab | user` | Shell Programming and Scripting | 27 | 11-13-2006 05:02 PM |
| Crontab | lo-lp-kl | UNIX for Dummies Questions & Answers | 2 | 05-05-2005 03:21 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Need help in crontab?
Can anyone please help me here i am trying to schedule a job in CRON I want to run it every five minutes.
When i try to save getting following error message OS is HP UNIX "/var/tmp/aaaa01326" 1 line, 82 characters */5 * * * * /home/oracle/run.sh >> /home/oracle/logs/run.log 2>&1 crontab: error on previous line; unexpected character found in line Thanks in advance. |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
Cron job
Hi,
You have made syntactical error ("*5"). Just change it as 0-59/5 and let me know if it doesn't works for you. Thank you, Uday. |
|
#3
|
|||
|
|||
|
Thanks for your response but it didn't help still same error
"/var/tmp/aaaa01326" 1 line, 82 characters 0-59/5 * * * * /home/oracle/run.sh >> /home/oracle/logs/run.log 2>&1 crontab: error on previous line; unexpected character found in line |
|
#4
|
||||
|
||||
|
Quote:
Code:
0,5,10,15,20,25,30,35,40,45,50,55 * * * * /home/oracle/run.sh >> /home/oracle/logs/run.log 2>&1 |
||||
| Google The UNIX and Linux Forums |