Skip to content

Instantly share code, notes, and snippets.

@imgeraldalinio
Created May 13, 2020 19:05
Show Gist options
  • Select an option

  • Save imgeraldalinio/c8069ed3febf72f532e40c3c3382bfcd to your computer and use it in GitHub Desktop.

Select an option

Save imgeraldalinio/c8069ed3febf72f532e40c3c3382bfcd to your computer and use it in GitHub Desktop.

Revisions

  1. imgeraldalinio created this gist May 13, 2020.
    10 changes: 10 additions & 0 deletions linux-crontab.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    # For example, you can run a backup of all your user accounts
    # at 5 a.m every week with:
    # 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/
    #
    # For more information see the manual pages of crontab(5) and cron(8)
    #
    # m h dom mon dow command

    @daily sh /home/ubuntu/mysqldump.sh