Issue Number | 454 |
---|---|
Summary | Fix emailing of notification from Pubmed update cron job |
Created | 2017-08-18 13:59:23 |
Issue Type | Bug |
Submitted By | Kline, Bob (NIH/NCI) [C] |
Assigned To | Kline, Bob (NIH/NCI) [C] |
Status | Closed |
Resolved | 2018-05-29 11:33:23 |
Resolution | Fixed |
Path | /home/bkline/backups/jira/oceebms/issue.213120 |
The script ~drupal/cron/update-pubmed-data.py appears to work correctly when run directly from the command line under the drupal account, but fails at the end when sending the notification to the developers that the job has completed when run under the cron daemon. Not a pressing problem, since the script has already taken care of its primary task (refreshing changed XML from Pubmed) before the failure occurs. But it would be nice to have the notification mechanism working correctly eventually.
Script needed the full path to the drush program.
Also needed to considerably reduce the batch size.
The script is working correctly on the lower tiers.
Elapsed: 0:00:00.000258