Centos 6 don't run my cron jobs
Hello
On my server Cento 6 64Bit the crontab was missing and i try to install it manually as i want to run 2 cron tasks but those tasks never run and i test it on Centos 5 and it is just fine ... I think that something changed on the new Centos 6 related as i am reading on the net thay are using anacrontab and not crontab anymore... But this software have some folders inside /etc/ like cron.daily cron.d cron.monthly cron.weekly and inside these folders are some files that seems to be each task each file... This is what i did: Code:
yum -y install crontabs cronie cronie-anacron Code:
nano anacrontab - e I also add the lines to test on crontab file but as i am using Centos 6 i think is better to use the anacrontab. Then after not working i try this: Code:
/etc/init.d/crond restart Then this: service crond status And i got running with pid bla bla... On cron logs i can see other things to run like disk alert and logrotate that are files that exist on /etc/cron.daily .... But when i add my lines on anacrontab there are not any other entries there and the same also for crontab... Also reading on the net i think i must configure also this settings that i do not know where they are: Code:
SHELL=/bin/sh I do not need also delay... cron tasks: Code:
*/15 * * * * /usr/local/bin/indexer --config /usr/local/etc/sphinx_ipb.conf ipb_search_posts_delta ipb_search_topics --rotate |
Ok i decide to remove all related software to cron jobs and install simple crontab so i can edit the crontab file on /etc/ and that's it...
Any ideas how to do this? Thank you |
Problem solved !
|
All times are GMT -5. The time now is 01:45 AM. |