Fix broken historyqa cronjob at KPNO
Closed this issue · 1 comments
sybenzvi commented
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
sybenzvi commented
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