Welcome to Solve Crontab Job Error.Configuration,Example Script,expression,Solve Problem Linux. At Solve Crontab Job Error.Configuration,Example Script,expression,Solve Problem Linux talk about [Solved] Error while updating the crontab

Tuesday, December 17

[Solved] Error while updating the crontab

When I update the crontab, I get error message. Any idea? Code: 0 0-23 * * * /usr/local/scripts/monitor.sh > /dev/null ( BEFORE) */5 * * * * /usr/local/scripts/monitor.sh > /dev/null (Now) it doesn't allow me to save the work. Error message... Code: crontab: */5 * * * * /usr/local/scripts/monitor.sh > /dev/null crontab: error on previous line; unexpected character found in line. crontab: warning: commands will be executed using /bin/sh Solving: The way of writing "*/5" instead of "5,10,15,20,25,30,...." is a Linux extension to the standard cron syntax. You haven't said which system you are on, but if it is not a Linux system you probably got a syntax warning from your cron. I hope this helps. bakunin

0 comments:

Post a Comment

Copyright © 2013 Solve Crontab Job Error.Configuration,Example Script,expression,Solve Problem Linux | Solve Crontab Job Error.Configuration,Example Script,expression,Solve Problem Linux