desihub/nightwatch

Fix broken historyqa cronjob at KPNO

Closed this issue · 1 comments

The script at /exposures/nightwatch/cron_nightwatch_historyqa.sh, run as a cronjob on desi-8, works from the command line but its cronjob errors out with the message

module: command not found

Fixed. Apparently this line in the crontab

MM HH * * * /usr/bin/bash /exposures/nightwatch/cron_nightwatch_historyqa.sh

needs to be replaced with

MM HH * * * /usr/bin/bash -l /exposures/nightwatch/cron_nightwatch_historyqa.sh