Accidentally Uninstall Cronie

hazhayder

Verified User
Joined
Oct 26, 2014
Messages
10
Hello, I am using directadmin on my server. But today i acidentally uninstall the crond from my server. Then i use to type this command yum install cronie to install crond back. I add some cronjobs its not working
THe problems i am facing after the uninstallation of cronie
Bandwidth not updating
No message in Message System (I stopped lfd Its been more than 24hours i have not recieved any message)
Add a cronjob to take backup but cronjob not working
WIll you please help me thanks
 
Hello,

First of all make sure crond is started:

Code:
ps uxa | grep crond | grep -v grep

if it's not, then start it:

Code:
/etc/init.d/crond start

Check logs and time of latest entries:

Code:
tail /var/log/cron

Make sure you've got not empty file /etc/cron.d/directadmin_cron:

Code:
ls -la /etc/cron.d/directadmin_cron

If it does not exist, then copy it from here: /usr/local/directadmin/scripts/directadmin_cron

Code:
cp /usr/local/directadmin/scripts/directadmin_cron /etc/cron.d/directadmin_cron

And update us with your results.
 
Thanks

Everything seems to be perfect now in command prompt. Now let me check weather cron job is executing or not
 
Back
Top