mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-05 16:02:34 +00:00
init
This commit is contained in:
7
system/commands/common/update-cron-jobs.sh
Executable file
7
system/commands/common/update-cron-jobs.sh
Executable file
@ -0,0 +1,7 @@
|
||||
if ! echo '__data__' | sudo -u __user__ crontab -; then
|
||||
echo 'VITO_SSH_ERROR' && exit 1
|
||||
fi
|
||||
|
||||
if ! sudo -u __user__ crontab -l; then
|
||||
echo 'VITO_SSH_ERROR' && exit 1
|
||||
fi
|
Reference in New Issue
Block a user