Results 1 to 2 of 2
Hi ,
I have fc7 on my system . I installed the packages vixie-cron and anacron for cron jobs .
i created two directories tmp1 and tmp2 in /tmp
I ...
- 04-02-2009 #1Just Joined!
- Join Date
- Jun 2007
- Posts
- 80
regarding cron jobs in fc7 ( crontab -e )
Hi ,
I have fc7 on my system . I installed the packages vixie-cron and anacron for cron jobs .
i created two directories tmp1 and tmp2 in /tmp
I edited the crontab file by issuing the command " crontab -e "
Now i entered some jobs :-
15 * * * * /bin/rm -rf /tmp/tmp1
30 * * * * /bin/rm -rf /tmp/tmp2
I started the cron service by issuing " service crond start"
But still even after 2 hours there directories have not been deleted ?
Please tell me what should i do ?
Regards,
Deepak
- 04-02-2009 #2Linux Enthusiast
- Join Date
- Aug 2006
- Location
- Portsmouth, UK
- Posts
- 539
Have a look in /var/log/cron and /var/log/messages you souhld be able to see what's going on then.
you could also try cutting and pasting the command part from your crontab to make sure there isn't a typo or something in there (although that doesn't look like it's the case)RHCE #100-015-395
Please don't PM me with questions as no reply may offend, that's what the forums are for.


Reply With Quote