I have 2 scripts which I want to add to the cron , but I have to push these out to 65 nodes , I also need to ensure that the time is different on each node , rather than editing the cron on each node can anyone help with a script I can send out from the workstation
The scripts are
# Script to run a monthly config build and ftp it to drftp
01 5 1 * * /config/dr-build >/dev/null 2>&1
30 5 1 * * /config/dr-check >/dev/null 2>&1
On each node I need a 5 minute change in the start times
guess theses 2 lines would be appended to the bottom off var/spool/cron/crontabs/root rather than trying to do a crontab –e in a script
If you append the bottom of a crontab do I need to refresh cron ? These are AIX servers
cheers
On the 7th day God created Super Moto
The scripts are
# Script to run a monthly config build and ftp it to drftp
01 5 1 * * /config/dr-build >/dev/null 2>&1
30 5 1 * * /config/dr-check >/dev/null 2>&1
On each node I need a 5 minute change in the start times
guess theses 2 lines would be appended to the bottom off var/spool/cron/crontabs/root rather than trying to do a crontab –e in a script
If you append the bottom of a crontab do I need to refresh cron ? These are AIX servers
cheers
On the 7th day God created Super Moto