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

Popular posts from this blog

iphone - Dismissing a UIAlertView -

c# - Can ProtoBuf-Net deserialize to a flat class? -

javascript - Change element in each JQuery tab to dynamically generated colors -