Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-05-2004, 07:04 AM   #1
Registered: May 2004
Posts: 38

Rep: Reputation: 15
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!
Old 05-05-2004, 07:26 AM   #2
LQ Guru
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
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
(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.
Old 05-06-2004, 07:54 AM   #3
Registered: May 2004
Posts: 38

Original Poster
Rep: Reputation: 15
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
cron backup job not running dsschanze Linux - General 9 07-29-2005 09:47 PM
script not running as a cron job sanjith11 Programming 5 11-23-2004 09:42 AM
cron job not running vincebs Linux - Software 34 10-30-2004 02:27 PM
Cron job not running? james_cwy Linux - Newbie 6 12-14-2003 09:24 PM
Cron Job Not Running pzorn Linux - General 4 10-02-2003 02:38 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:02 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration