Skip to content

Commit

Permalink
Jenkins: Cleanup #time 2m
Browse files Browse the repository at this point in the history
  • Loading branch information
astromatt committed Sep 9, 2022
1 parent b8d7826 commit 3ee33b9
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions jenkins/pipeline-dsl/triggers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,30 @@
Triggers
********

Recap
-----
* Crontab syntax
* https://dev.astrotech.io/linux/system/crontab.html

.. code-block:: text
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# Example of job definition:
# .---------------- minute (0 - 59)
# | .------------- hour (0 - 23)
# | | .---------- day of month (1 - 31)
# | | | .------- month (1 - 12) OR jan,feb,mar,apr ...
# | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat
# | | | | |
# * * * * * user-name command to be executed
17 * * * * root cd / && run-parts --report /etc/cron.hourly
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
Webhook
=======
Expand Down

0 comments on commit 3ee33b9

Please sign in to comment.