transientskp / aartfaac-control

AARTFAAC control scripts
0 stars 0 forks source link

Add crontab entry for AARTFAAC uniboard firmware reload #24

Closed hsuyeep closed 9 years ago

hsuyeep commented 9 years ago

AARTFAAC uniboards can reset to factory defaults on a station powerdown. This implies that no data will be transmitted to the GPU correlator. Since the powerdown can be random, we install a cron entry to a script which reloads the AARTFAAC images if needed.

hsuyeep commented 9 years ago

The script is: on lcu-aartfaac:/home/acontrol/SVN/Aartfaac/trunk/Software/sh/check_unb_aartfaac_images.sh

The cron entry is made in the name of user acontrol: acontrol@lcu-aartfaac(10:33:19):sh$ crontab -l

DO NOT EDIT THIS FILE - edit the master and reinstall.

(/tmp/crontab.ZlKRqx installed on Tue Jul 14 10:20:18 2015)

(Cronie version 4.2)

0-59/10 * * * * test -x /home/acontrol/SVN/Aartfaac/trunk/Software/sh/check_unb_aartfaac_images.sh || /home/acontrol/SVN/Aartfaac/trunk/Software/sh/check_unb_aartfaac_images.sh

This entry, once made, will survive across reboots,.