AccessGrid.org

Scheduling useful tasks

The following section provides information on how you can easily implement scheduling of useful tasks that you might need to have as part of your Access Grid node.

Restarting the Beacon

If you have installed the multicast beacon, it is recommended that you regularly restart the beacon. This has the advantage of:

  • starting the software if the machine has been shutdown or restarted and the beacon was forgotten to be started

Therefore, by implementing the following, it will cause the software to be restarted at midnight every night.

  • Start a terminal session as a normal user
  • Issue the command crontab -e.
  • Then by pressing the “i” key to insert the following into the crontab file:
0 0 * * * /<location of bridge_script>/dbeacon.sh

  • Hit the "Esc" key and the type :wq to "Write and Quit", which will exit editing the crontab file.

Restarting the BridgeServer

If you have installed a unicast Bridge, it is recommended that you regularly restart the service on a semi-regular basis. This has the advantage of:

  • Ensuring the unicast bridge is restarted, if the machine has been shutdown or rebooted; and
  • Regular restarting causes the software to run more smoothly.

Therefore, if you have configured and are running a unicast bridgeserver, it is suggested that you restart the "BridgeServer" by using an appropriate shell script. By implementing the following, the software will be restarted at midnight every night.

  • Start a terminal session as the standard user
  • Issue the command crontab -e.
  • Then by pressing the “i” key to insert, enter the following into the crontab file:
0 0 * * * /<location of bridge_script>/<scriptname>

  • Hit the "Esc" key and the type :wq to "Write and Quit", which will exit editing the crontab file.

login or register to post comments