-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathjarvis-events
More file actions
32 lines (32 loc) · 2.04 KB
/
Copy pathjarvis-events
File metadata and controls
32 lines (32 loc) · 2.04 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
# Jarvis Events
# Add your events according to format at bottom
# Remove the leading # to enable a rule
# Format:
# Minutes Hours DayofMth Months DaysofWk Command to execute
#
# Amounts formats: * (all), */2 (every 2), 1,2 (1 and 2), 1-3 (from 1 to 3)
# Shortcuts: @reboot, @yearly, @annually, @monthly, @weekly, @daily , @midnight, @hourly
#
# LEGEND
# ____________________________________________ Minutes (0-59)
# | ____________________________________ Hours (0-23)
# | | ____________________________ Days of Month (1-31)
# | | | ____________________ Months (1-12)
# | | | | ____________ Days of Week (0-6, 0 is Sun)
# | | | | | ___ Command to execute
#___|_______|_______|_______|_______|________|_________________________________
# Examples
#---|-------|-------|-------|-------|--------|---------------------------------
# 0 0 1,15 * * echo "On 1st and 15th of every month at 0am"
# 30 6 * * 1-5 echo "Every weekday at 6h30"
# */10 * * * * echo "Every 10 mins"
# 0 8 30 7 * echo "On July 30th at 8h"
# @reboot echo "At system startup"
#___|_______|_______|_______|_______|________|_________________________________
# Your events below (Remove leading # to enable)
#---|-------|-------|-------|-------|--------|---------------------------------
# @reboot ~/jarvis/jarvis.sh -b
# 0 8 * * * ~/jarvis/jarvis.sh -x "quelle est la météo?" # needs weather plugin
# 0 7-21 * * * ~/jarvis/jarvis.sh -x "quelle heure est-il?" # needs time plugin
# 1 7-21 * * * ~/jarvis/jarvis.sh -x "vérifie mes emails" # needs gmail plugin
# @midnight wget -qO /dev/null "http://mywebsite.com/backup"