Schedule Backup not running

RumaDaptardar

New member
Joined
Nov 19, 2022
Messages
6
Hello,

When creating backup on time / now then it's working fine, but when setting a time as Schedule backup, it's getting saved but not running at all.

Kindly help me to solve it
 
DA Version1.63.9
Detected server OSrhel7_amd64


Output of
rpm -qa | grep cron
cronie-1.4.11-24.el7_9.x86_64
crontabs-1.11-6.20121102git.el7.noarch
cronie-anacron-1.4.11-24.el7_9.x86_64


Output of
systemctl status crond
● crond.service - Command Scheduler
Loaded: loaded (/usr/lib/systemd/system/crond.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2022-11-19 14:11:16 CET; 18h ago
Main PID: 6831 (crond)
CGroup: /system.slice/crond.service
└─6831 /usr/sbin/crond -n

Nov 19 14:11:16 hostname systemd[1]: Started Command Scheduler.
Nov 19 14:11:16 hostname crond[6831]: (CRON) INFO (RANDOM_DELAY will be scaled with f...d.)
Nov 19 14:11:16 hostname crond[6831]: (CRON) INFO (running with inotify support)
Nov 19 14:13:01 hostname crond[6831]: (diradmin) RELOAD (/var/spool/cron/diradmin)
Nov 20 08:25:01 hostname crond[6831]: (diradmin) RELOAD (/var/spool/cron/diradmin)
Nov 20 08:26:01 hostname crond[6831]: (diradmin) RELOAD (/var/spool/cron/diradmin)
Nov 20 08:36:01 hostname crond[6831]: (diradmin) RELOAD (/var/spool/cron/diradmin)
Hint: Some lines were ellipsized, use -l to show in full.


Output of
crontab -u diradmin -l
1 4 * * 3 echo "action=backup&id=1&owner=reseller1" >> /usr/local/directadmin/data/task.queue.da; /bin/chmod 600 /usr/local/directadmin/data/task.queue.da
40 8 * * * echo "action=backup&id=2&owner=reseller2" >> /usr/local/directadmin/data/task.queue.da; /bin/chmod 600 /usr/local/directadmin/data/task.queue.da


Output of
ls -la /usr/local/directadmin/data/task.queue.da
ls: cannot access /usr/local/directadmin/data/task.queue.da: No such file or directory
 
What will you see if you run as root?

Code:
echo "action=backup&id=2&owner=reseller2" >> /usr/local/directadmin/data/task.queue.da;
/usr/local/directadmin/dataskq d800
 
Hello,

The issue is reported by several users already. You might open a ticket with Directadmin support and let them investigate it.
 
Back
Top