-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcrontabFile
More file actions
executable file
·33 lines (26 loc) · 1.09 KB
/
Copy pathcrontabFile
File metadata and controls
executable file
·33 lines (26 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/usr/bin/env crontab
################################################################################
# Examples
# Usage: crontab <file>
# * * * * * #Runs every minute
# 30 * * * * #Runs at 30 minutes past the hour
# 45 6 * * * #Runs at 6:45 am every day
# 45 18 * * * #Runs at 6:45 pm every day
# 00 1 * * 0 #Runs at 1:00 am every Sunday
# 00 1 * * 7 #Runs at 1:00 am every Sunday
# 00 1 * * Sun #Runs at 1:00 am every Sunday
# 30 8 1 * * #Runs at 8:30 am on the first day of every month
# @reboot #Runs at boot
# @yearly #Runs once a year [0 0 1 1 *]
# @annually #Runs once a year [0 0 1 1 *]
# @monthly #Runs once a month [0 0 1 * *]
# @weekly #Runs once a week [0 0 * * 0]
# @daily #Runs once a day [0 0 * * *]
# @midnight #Runs once a day [0 0 * * *]
# @hourly #Runs once an hour [0 * * * *]
################################################################################
# Tasks
# For my eyes
@reboot redshift &
# Local locate database update
10 * * * * updatedb --require-visibility 0 -o ${HOME}/.mlocate.db -U ${HOME} -v &