* README.CRONTAB * * Copyright : (C) Brad Mertz 1999 * * Please refer to README for Disclaimer and GNU GENERAL PUBLIC LICENSE * * Modify the /rc5/... path to whereever RC5 is located. You MUST use * absolute paths, ~/..., etc will not always work through RSH. ############ Please Note: DO NOT setup your crontab until after you have tested the /rc5/automated/auto*_up scripts manually and know it works!! Once you think it works, setup the crontab and pay attention to the feedback email crontab sends you and make sure it works! If everything is working great with the crontab, then feel free to add "> /dev/null" to: /rc5/automated/auto*_up - right after it calls *_script: *_script > /dev/null & /rc5/automated/flush_all - right after it calls flush_*: flush_* > /dev/null & ############ I picked one of the X86 terminals to host the cronjob's for spawning of the RC5DES client. Crontab (from my experience) usually uses vi as its default editor. Here are a few basic keystrokes to get yourself started. Execute crontab by: crontab -e Press i for insert to add your cronjob's To save: Press ESC, press :, type wq! To cancel: Press ESC, press :, type q! To completely delete a crontab, execute: crontab -r These are the settings I used for spawning all the RC5 clients. Remove the #lines when inserting these into your crontab. # Flush all RC5 buffers before the end of the hour. # 50 * * * * /rc5/automated/flush_all # Initiate the 30 minute (actual runtime of 29 minutes) shutdown. # # Note: The Sparc and UltraSparc clients were usually brought down # every 29 minutes and then respawned. # 29 * * * * /rc5/automated/halfhr_shutdown # Initiate the one hour (actual runtime of 59 minutes) shutdown. # # Note: This brought down the Sparc, UltraSparc and X86 clients at the # top of the hour. # 59 * * * * /rc5/automated/fullhr_shutdown # Spawn the X86 clients - Startup at the top of the hour. # 0 * * * * /rc5/automated/autox86_up # Spawn the Sparc clients - Startup every half hour at one minute past. # 1,30 * * * * /rc5/automated/autosparc_up # Spawn the UltraSparc clients - Startup every half hour at one minute # past and run for only six hours. # 1,30 0,1,2,3,4,5 * * * /rc5/automated/autoultra_up