File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
Introduction to Bash Scripting Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change 188188
189189# Create a schedule for 11.30pm on Sunday evening, every week
19019030 23 * * 0 bash script3 .sh
191+
192+ """
193+ ### Scheduling cronjobs with crontab
194+
195+ Instructions 1/3
196+
197+ 1
198+ Verify there are no existing cronjobs by listing them.
199+ 2
200+ Use the edit command for crontab (select nano) then schedule extract_data.sh to run with Bash at 2:30am every day.
201+ 3
202+ Verify the cronjob has been scheduled in the crontab by listing all current scheduled cronjobs.
203+ """
204+ repl :~ $ crontab - l
205+ # This is your crontab file.
206+ # Schedule your crontabs below.
207+ repl :~ $ nano crontab
208+ 30 2 * * * extract_data .sh
209+ # (save,exit) contrl O + contrl X
210+ repl :~ $ crontab - l
You can’t perform that action at this time.
0 commit comments