Thursday, 15 April 2010

linux - crontab doesn't execute his jobs -



linux - crontab doesn't execute his jobs -

i have problem executing crontab jobs. guess have configured when put:*/2 * * * * /var/www/site/executescript.sh in crontab -e script not beingness executed @ all.. thing in cron.log is:

feb 15 10:22:35 server crontab[2222]: (root) begin edit (root) feb 15 10:22:45 server crontab[2222]: (root) replace (root) feb 15 10:22:45 server crontab[2222]: (root) end edit (root) feb 15 10:26:24 server crontab[2329]: (root) begin edit (root) feb 15 10:27:17 server crontab[2329]: (root) replace (root) feb 15 10:27:17 server crontab[2329]: (root) end edit (root) feb 15 10:29:34 server crontab[2415]: (root) begin edit (root) feb 15 10:29:53 server crontab[2415]: (root) replace (root) feb 15 10:29:53 server crontab[2415]: (root) end edit (root)

what mean cron doesn't seek execute script. knew related to? mean there error in script ( don't see one..) there place can check more accurate cron logs?

version of cron v5.0

you need define binary executing script. seek this:

*/2 * * * * /bin/sh /var/www/site/executescript.sh in

linux cron crontab

No comments:

Post a Comment