Directadmin keep resetting my cron

drkool

New member
Joined
Jan 18, 2020
Messages
2
Every few weeks directadmin reset my cron at /etc/cron.d/directadmin_cron

How can I prevent this from happening?
 
it will rewrite when Directadmin updating.

what's problem with current cron ?
Lastest version, dataskq will run with directadmin service.

you can prevent file changing with "chattr" command

chattr +i /etc/cron.d/directadmin_cron

To reverse this back, use "-i"
 
Back
Top