danikupers
New member
- Joined
- Jan 2, 2011
- Messages
- 2
Hello,
Cronjob aren't working on my server. (After a new install).
I tryed
http://help.directadmin.com/item.php?id=107
but it says:
root@server:/home/admin# yum -y install vixie-cron
/usr/bin/python: /usr/local/lib/libz.so.1: no version information available (required by /usr/bin/python)
Setting up Install Process
No package vixie-cron available.
Nothing to do
root@server:/home/admin# service crond start
crond: unrecognized service
CROND is running
root@server:/home/admin# ps waux | grep crond
root 2311 0.0 0.0 7636 960 pts/0 S+ 05:34 0:00 grep --color=auto crond
in /etc/cron.d/directadmin_cron :
* * * * * root /usr/local/directadmin/dataskq
2 0-23/6 * * * root echo 'action=vacation&value=all' >> /usr/local/directadmin/data/task.queue;
#5 5 * * 0 root /sbin/quotaoff -a; /sbin/quotacheck -augm; /sbin/quotaon -a;
10 0 * * * root echo 'action=tally&value=all' >> /usr/local/directadmin/data/task.queue
20 4 1 * * root echo 'action=reset&value=all' >> /usr/local/directadmin/data/task.queue
0 4 * * * root echo 'action=check&value=license' >> /usr/local/directadmin/data/task.queue
but even in this directadmin_cron i tryed to put a CRON, but is not working
cron is just a wget to a website,
*/1 * * * * root wget --delete-after http://beta.derodenburg.nl/admin/cron/cron_sql_offline_SERVER.php >/dev/null 2>&1
and this is working when i manualy do it.
Cronjob aren't working on my server. (After a new install).
I tryed
http://help.directadmin.com/item.php?id=107
but it says:
root@server:/home/admin# yum -y install vixie-cron
/usr/bin/python: /usr/local/lib/libz.so.1: no version information available (required by /usr/bin/python)
Setting up Install Process
No package vixie-cron available.
Nothing to do
root@server:/home/admin# service crond start
crond: unrecognized service
CROND is running
root@server:/home/admin# ps waux | grep crond
root 2311 0.0 0.0 7636 960 pts/0 S+ 05:34 0:00 grep --color=auto crond
in /etc/cron.d/directadmin_cron :
* * * * * root /usr/local/directadmin/dataskq
2 0-23/6 * * * root echo 'action=vacation&value=all' >> /usr/local/directadmin/data/task.queue;
#5 5 * * 0 root /sbin/quotaoff -a; /sbin/quotacheck -augm; /sbin/quotaon -a;
10 0 * * * root echo 'action=tally&value=all' >> /usr/local/directadmin/data/task.queue
20 4 1 * * root echo 'action=reset&value=all' >> /usr/local/directadmin/data/task.queue
0 4 * * * root echo 'action=check&value=license' >> /usr/local/directadmin/data/task.queue
but even in this directadmin_cron i tryed to put a CRON, but is not working
cron is just a wget to a website,
*/1 * * * * root wget --delete-after http://beta.derodenburg.nl/admin/cron/cron_sql_offline_SERVER.php >/dev/null 2>&1
and this is working when i manualy do it.