No cron, no update?

prae

New member
Joined
Aug 27, 2007
Messages
4
Before and during install the cron daemon wasnt installed/active on my server.
So the update function doesnt seem to work at all, it wasn't installed during installation. (stats are 0 mb, etc.)

What line do i have to add in crontab to make directadmin update itself again?
 
The cronjobs should all be set up properly by DirectAdmin; if you install and run the cron daemon everything should work.

If not you'll need to log in and start looking around, or have a systems administrator do it for you.

Jeff
 
Here is the reply I got from DA-support:

Code:
[FONT=Courier][SIZE=2]cd /usr/local/directadmin/scripts[/SIZE][/FONT]
[FONT=Courier][SIZE=2]mkdir -p /etc/cron.d[/SIZE][/FONT]
[FONT=Courier][SIZE=2]cp directadmin_cron /etc/cron.d[/SIZE][/FONT]
[FONT=Courier][SIZE=2]chmod 644 /etc/cron.d/directadmin_cron[/SIZE][/FONT]
[FONT=Courier][SIZE=2]service xinetd restart[/SIZE][/FONT]

In short, just put the code in /usr/local/directadmin/scripts/directadmin_cron in you crontab.

You might tune this code for your distribution... since i couldnt find xinetd I just rebooted the system
icon6.gif
 
Back
Top