{"id":72,"date":"2026-04-30T20:17:39","date_gmt":"2026-04-30T20:17:39","guid":{"rendered":"https:\/\/student.wp.odu.edu\/fsull002\/?p=72"},"modified":"2026-04-30T21:19:22","modified_gmt":"2026-04-30T21:19:22","slug":"lab-9-task-automation","status":"publish","type":"post","link":"https:\/\/student.wp.odu.edu\/fsull002\/2026\/04\/30\/lab-9-task-automation\/","title":{"rendered":"Lab 9 &#8211; Task Automation"},"content":{"rendered":"\n<p>In this lab, we learned how to set task automation using scripts and crontab.  We created a script that would, at a set time, create a backup of a user&#8217;s home directory, then zip it and send it to the \/var\/backups directory.  We learned how to interface with the crontab and set up schedules for these scripts to run at specified intervals.<\/p>\n\n\n\n<p>A difficulty I had with this was trying to get crontab to run every minute.  For whatever reason, I just couldn&#8217;t understand what the task implied we were supposed to do, or how to do it properly.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this lab, we learned how to set task automation using scripts and crontab. We created a script that would, at a set time, create a backup of a user&#8217;s home directory, then zip it and send it to the&#8230; <a class=\"more-link\" href=\"https:\/\/student.wp.odu.edu\/fsull002\/2026\/04\/30\/lab-9-task-automation\/\">Continue Reading &rarr;<\/a><\/p>\n","protected":false},"author":31960,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","wds_primary_category":8},"categories":[8],"tags":[6,4,5],"_links":{"self":[{"href":"https:\/\/student.wp.odu.edu\/fsull002\/wp-json\/wp\/v2\/posts\/72"}],"collection":[{"href":"https:\/\/student.wp.odu.edu\/fsull002\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/student.wp.odu.edu\/fsull002\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/student.wp.odu.edu\/fsull002\/wp-json\/wp\/v2\/users\/31960"}],"replies":[{"embeddable":true,"href":"https:\/\/student.wp.odu.edu\/fsull002\/wp-json\/wp\/v2\/comments?post=72"}],"version-history":[{"count":4,"href":"https:\/\/student.wp.odu.edu\/fsull002\/wp-json\/wp\/v2\/posts\/72\/revisions"}],"predecessor-version":[{"id":96,"href":"https:\/\/student.wp.odu.edu\/fsull002\/wp-json\/wp\/v2\/posts\/72\/revisions\/96"}],"wp:attachment":[{"href":"https:\/\/student.wp.odu.edu\/fsull002\/wp-json\/wp\/v2\/media?parent=72"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/student.wp.odu.edu\/fsull002\/wp-json\/wp\/v2\/categories?post=72"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/student.wp.odu.edu\/fsull002\/wp-json\/wp\/v2\/tags?post=72"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}