unix - Crontab append remotely -
unix - Crontab append remotely -
i append entries crontab on remote server. this.
for host in $hosts ssh $host echo "5,10,15,20 05,35 8-20 * * * /myhome/myscript" crontab_file done problem not know name of crontab file line needs appended with
you should not edit crontab file directly, utilize crontab -e (why? read this). create simple text file script , cut&paste crontab.
unix
Comments
Post a Comment