Copy/Paste all crons somehow?

dorucrisan

Verified User
Joined
Oct 23, 2021
Messages
222
Location
Bucharest / Romania
Is there any procedure to copy all crons from admin account on a server and paste them on admin account on another server?
There is of course the option to use Admin Backup/Transfer, that will actually copy/move everything including crons, but account is big, just need the crons copied from one server to another.
Thanks.
 
The crons are listed in the crontab.conf file for you to view only. Seems to be a panel file.
Bash:
/usr/local/directadmin/data/users/[username]/crontab.conf

However, the crons are run with crontab and you can copy/paste the crons from one server to another and it's perfectly safe for you to edit the crons file this way
Bash:
 # crontab -u [username] -e

Load up your Admin Panel after and check the changes show. It's usually instant
 
Last edited:
The crons are listed in the crontab.conf file for you to view only. Seems to be a panel file.
Bash:
/usr/local/directadmin/data/users/[username]/crontab.conf

However, the crons are run with crontab and you can copy/paste the crons from one server to another and it's perfectly safe for you to edit the crons file this way
Bash:
 # crontab -u [username] -e

Load up your Admin Panel after and check the changes show. It's usually instant
Thanks will try.
 
Back
Top