1
0

install_crons.rst 691 B

12345678910111213141516171819202122232425262728
  1. Cron Jobs
  2. =========
  3. Some actions in pagure are meant to the run via a cron job.
  4. API key expiration reminder
  5. ---------------------------
  6. One of the cron job sending reminder about API keys that are about to expire.
  7. It will send an email 10 days, then 5 days and finally the day before the
  8. key expires to the person who has created.
  9. The cron job can be found in the sources in: ::
  10. files/api_key_expire_mail.py
  11. In the RPM it is installed in: ::
  12. /usr/share/pagure/api_key_expire_mail.py
  13. This cron job is meant to be run daily using a syntax similar to:
  14. ::
  15. 10 0 * * * root python /usr/share/pagure/api_key_expire_mail.py
  16. which will make the script run at 00:10 every day.