sul-dlss / sul_pub

SUL system for harvest and managing publications for Stanford CAP, with controlled API access.
http://cap.stanford.edu
Other
8 stars 3 forks source link

fix report output of cron job #1627

Closed peetucket closed 1 year ago

peetucket commented 1 year ago

Why was this change made?

A recent PR added a new cron job for a rake task with the output directed to the file, but I realized the output was still going to cron.log due to how whenever gem creates cron jobs. This fixes it to allow this particular cron job to direct it's output to a specific file. See https://github.com/javan/whenever/wiki/Output-redirection-aka-logging-your-cron-jobs

How was this change tested?

localhost

Which documentation and/or configurations were updated?