Clone crontable between users

robboh

Verified User
Joined
Jul 26, 2021
Messages
9
Location
Poland
Hi. Somebody know how to clone cronetable from "user_A" to "user_B".
I have tried to copy (Debian 11): /usr/local/directadmin/data/users/user_A/crontab.conf to /usr/local/directadmin/data/users/user_B/crontab.conf but changes aren't visible on user_B DA panel.





(No prefix)









  • Discussion
  • Poll



Hi. Somebody know how to clone cronetable from "user_A" to "user_B".
I have tried to copy /usr/local/directadmin/data/users/user_A/crontab.conf to /usr/local/directadmin/data/users/user_B/crontab.conf but changes aren't visible on





Attach files








(No prefix)









  • Discussion
  • Poll



Hi. Somebody know how to clone cronetable from "user_A" to "user_B".
I have tried to copy /usr/local/directadmin/data/users/user_A/crontab.conf to /usr/local/directadmin/data/users/user_B/crontab.conf but changes aren't visible on





Attach files
 
in debian 10, the location of the crontabs is:

/var/spool/cron/crontabs

In Centos:

/var/spool/cron


You can try to copy this files between users, as DA sync with the system crontab, this may work, but I didn't tested.
 
Back
Top