Skip to content

Instantly share code, notes, and snippets.

@rusllonrails
Last active December 23, 2016 10:39
Show Gist options
  • Select an option

  • Save rusllonrails/e69cdbd764865ee0c823407ade668754 to your computer and use it in GitHub Desktop.

Select an option

Save rusllonrails/e69cdbd764865ee0c823407ade668754 to your computer and use it in GitHub Desktop.

Revisions

  1. rusllonrails revised this gist Jul 30, 2016. 1 changed file with 12 additions and 1 deletion.
    13 changes: 12 additions & 1 deletion CRON GUIDE
    Original file line number Diff line number Diff line change
    @@ -1 +1,12 @@
    https://help.ubuntu.com/community/CronHowto
    https://help.ubuntu.com/community/CronHowto

    00 00 * * * ruby path/to/your/script.rb

    Syntax:
    mm hh dd mt wd command

    mm minute 0-59
    hh hour 0-23
    dd day of month 1-31
    mt month 1-12
    wd day of week 0-7 (Sunday = 0 or 7)
  2. rusllonrails created this gist Jul 30, 2016.
    1 change: 1 addition & 0 deletions CRON GUIDE
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    https://help.ubuntu.com/community/CronHowto