Cron job not running in slackware9.1
I have been trying to make a cron job to run a doxygen every night as follows:
-- The content of my "/var/spool/cron/crontabs/root" file -- 00 03 * * * doxygen /www/htdocs/stb/docs/home 2>&1 > /multicast/dox.log I have tried to get some response from this action, hence the dox.log file. Nothing happens at this time (aswell as other times I have tried with). If I do "ps aux" I can see that the crond deamon is running???? Hope you can help me here! regards |
I hope you haven't directly edited the file, but used crontab for that? like
crontab -l (this should print your crontab file) crontab -e (this should throw you to edit your crontab file) the line goes MIN HOUR DAY MONTH DAYOFWEEK COMMAND (so I see no error in your command line) you might try and give the full path to your doxygen executable..I'm not sure whether crontab looks for PATH to find it, but try it. whereis doxygen (will show where the executable is) then just edit the line as follows: 00 03 * * * /usr/bin/doxygen /www/htdocs/stb/docs/home 2>&1 /multicast/dox.log assuming that doxygen is in /usr/bin/ of course... see if adding the whole path helps. |
ahh, simple solution to this problem???????
I forgot to do this: crontab /var/spool/cron/crontabs/name_of_file The deamon has to be updated after changes of course. Stupid of me. |
All times are GMT -5. The time now is 03:21 PM. |