We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75255e4 commit 033e868Copy full SHA for 033e868
Introduction to Bash Scripting/IV Functions and Automation.py
@@ -162,7 +162,7 @@
162
** hour (0-23)
163
*** day of month (1-31)
164
**** month (1-12)
165
- ***** day of week (1-7)
+ ***** day of week (0-6) (0 is Sunday)
166
167
*** first 'cronjob'
168
>>>>>> crontab -i : edit crontab w/ nano
@@ -176,3 +176,15 @@
176
177
Answer : 15 minutes past every hour on Saturdays and Sundays.
178
"""
179
+
180
+"""
181
+### Creating cronjobs
182
183
+# Create a schedule for 30 minutes past 2am every day
184
+30 2 * * * bash script1.sh
185
186
+# Create a schedule for every 15, 30 and 45 minutes past the hour
187
+15,30,45 * * * bash script2.sh
188
189
+# Create a schedule for 11.30pm on Sunday evening, every week
190
+30 23 * * 0 bash script3.sh
0 commit comments