CALS NOTE

  • Home
  • Archives
  • Cheatsheets
  • rss
  • About
  • Friends
2018-01-02 Calvin Lam
Comments

Cronjob Cheatsheet

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# crontab
# min, hour, day, month, day_of_week, command

# every 5 mins
*/5 * * * * /path/to/myscript.sh

# 0,2,4 mins
0,2,4 * * * * /path/to/myscript.sh

# 1-10 mins
1-10 * * * * /path/to/myscript.sh

# hourly
@hourly /path/to/myscript.sh
0 * * * * /path/to/myscript.sh

# startup
@reboot /path/to/myscript.sh
  • Cheatsheet
  • Cron
  • Cronjob
  • Linux
Newer
Learning Roadmap 2018
Older
OWASP top 10, 2017 - A3 Sensitive Data Exposure

CALS NOTE

© 2020 Calvin Lam
Modify from Apollo theme, designed by SANOGRAPHIX.NET
Powered by Hexo