EBMS Tickets

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
Description

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.

Comment entered 2018-05-29 11:34:00 by Kline, Bob (NIH/NCI) [C]

Script needed the full path to the drush program.

Comment entered 2020-02-01 13:18:54 by Kline, Bob (NIH/NCI) [C]

Also needed to considerably reduce the batch size.

Comment entered 2020-02-02 10:55:04 by Kline, Bob (NIH/NCI) [C]

The script is working correctly on the lower tiers.

Elapsed: 0:00:00.000258