SlideShare a Scribd company logo
1 of 9
Job Automation Using
Linux
Cron and At
 Cron is a deamon called "crond" used to schedule and execute jobs
or scripts automatically without user intervention. Cron, also
referred to as crontab, can help with automated log rotation,
scheduled reporting and running of scripts at off times of the day.
Cron is primarily used for jobs needing to be executed over and over
like log rotation every week or a report email sent out every
morning.
 An addtitional tool one can use is called "at" and is used to execute
a job only once. "at" is very useful, for example if you want run a
backup job starting at 8pm and you expect to be leaving at 5:30pm.
 In OpenBSD and FreeBSD the daemon cron can handel cron jobs as
well at "at" jobs. In Linux the "crond" daemon is used for cron jobs
only and a separate daemon "atd" is used for at jobs. Make sure the
correct daemon is running for the job scheduler you are looking to
use.
To use cron tab there are two important commands:
 crontab -e edit your crontab entries
 crontab -l print the entries from crontab
 Here is an example of a very easy to reference header for your
crontab. You have the descriptions for every time slot and what every
slot will accept. This example also specifies the shell and the path
making sure the binaries you run can be found. The last line is an
example of running "newsyslog" Sunday at midnight. You are welcome
to cut/paste this block to the top of your cron tab.
Lets take a look at some examples in order of simple to alittle more
complex. Notice all of the binaries are using their absolute paths. Cron
uses its own PATH variable and it is a safe practice to always use absolute
paths in your crontab. This is to avoid confusion.
Rotate logs weekly at 12midnight. (just like the example above)
00 0 * * 0 /usr/bin/newsyslog
Rotate logs weekly at 12midnight. (instead of 0 for the day of the week
we can use Sun for Sunday)
00 0 * * Sun /usr/bin/newsyslog
Mail a report to root everyday at 11:59pm (23:59).
59 23 * * * /usr/local/bin/pflogsumm -d today /var/log/maillog | mail -s "mail
report" root
 Run the backup scripts at 5am on the 3rd (Wed) and 5th (Fri) day of the week.
Send any errors to /dev/null
 00 5 * * 3,5 /tools/BACKUP_script.sh >> /dev/null 2>&1
 Compress backup files at 6am on the 1st and 15th of the month.
 00 6 1,15 * * /tools/BACKUP_compress.sh
 Refresh the Squid ad blocker server list every 3 days at 12:05am.
 05 0 * * */3 /tools/ad_servers_newlist.sh
 Clear the blocked hosts list at 3:23pm (15:23) every Monday only on even
numbered months.
 23 15 * */2 1 /tools/clear_blocked_hosts.sh
 Run a script at 8:45pm (20:45) on 2nd and the 16th only in the months of
January and April.
45 20 2,16 1,4 * /tools/a_script.sh
 Run a script every day at 8:45pm (20:45) and add a random sleep time
between 0 and 300 seconds.
45 20 * * * sleep $(($RANDOM % 300)); /tools/a_script.sh
 Run the script at 23:59 (11:59pm) on the last day of the month.
59 23 28-31 * * [ $(date -d +1day +%d) -eq 1 ] && /tools/a_script.sh
 To run jobs only once it is easier to use "at" than to setup and cron job and
then go back and remove it once the job has ran. Remember you need to
have the "atd" daemon running on Linux systems to run "at" jobs. On OpenBSD
or FreeBSD system the "crond" daemon will handle "cron" and "at" jobs.
 To run an "at" job you need to fist tell "at" what time to run the job.
Remember to use absolute paths to avoid confusion. Once to execute att with
the time and date you will be put into an "at" shell. This is where you will
enter the commands you want to execute, one command per line to make it
simple.
 In this example we will be executing a set of commands at 5am on January
23rd. The backup script will run and then we will send out mail to root. To
close the "at" shell and save the job you must type Ctrl-d (the control key
with the lowercase d).
Job Automation using Linux

More Related Content

What's hot

What's hot (20)

Presentation on linux
Presentation on linuxPresentation on linux
Presentation on linux
 
Bash shell scripting
Bash shell scriptingBash shell scripting
Bash shell scripting
 
User management
User managementUser management
User management
 
Yum (Linux)
Yum (Linux) Yum (Linux)
Yum (Linux)
 
Introduction 2 linux
Introduction 2 linuxIntroduction 2 linux
Introduction 2 linux
 
Introduction to shell scripting
Introduction to shell scriptingIntroduction to shell scripting
Introduction to shell scripting
 
Unix Linux Commands Presentation 2013
Unix Linux Commands Presentation 2013Unix Linux Commands Presentation 2013
Unix Linux Commands Presentation 2013
 
Disk and File System Management in Linux
Disk and File System Management in LinuxDisk and File System Management in Linux
Disk and File System Management in Linux
 
Linux basic commands
Linux basic commandsLinux basic commands
Linux basic commands
 
Course 102: Lecture 26: FileSystems in Linux (Part 1)
Course 102: Lecture 26: FileSystems in Linux (Part 1) Course 102: Lecture 26: FileSystems in Linux (Part 1)
Course 102: Lecture 26: FileSystems in Linux (Part 1)
 
Linux fundamental - Chap 15 Job Scheduling
Linux fundamental - Chap 15 Job SchedulingLinux fundamental - Chap 15 Job Scheduling
Linux fundamental - Chap 15 Job Scheduling
 
Linux
LinuxLinux
Linux
 
User and groups administrator
User  and  groups administratorUser  and  groups administrator
User and groups administrator
 
Linux file system
Linux file systemLinux file system
Linux file system
 
Linux crontab
Linux crontabLinux crontab
Linux crontab
 
Course 102: Lecture 20: Networking In Linux (Basic Concepts)
Course 102: Lecture 20: Networking In Linux (Basic Concepts) Course 102: Lecture 20: Networking In Linux (Basic Concepts)
Course 102: Lecture 20: Networking In Linux (Basic Concepts)
 
Nfs
NfsNfs
Nfs
 
Shell scripting
Shell scriptingShell scripting
Shell scripting
 
Linux Presentation
Linux PresentationLinux Presentation
Linux Presentation
 
Unix shell scripting basics
Unix shell scripting basicsUnix shell scripting basics
Unix shell scripting basics
 

Viewers also liked

Processor grafxtron
Processor grafxtronProcessor grafxtron
Processor grafxtron
Smart Equipments
 
Top 100 Linux Interview Questions and Answers 2014
Top 100 Linux Interview Questions and Answers 2014Top 100 Linux Interview Questions and Answers 2014
Top 100 Linux Interview Questions and Answers 2014
iimjobs and hirist
 

Viewers also liked (16)

Processor grafxtron
Processor grafxtronProcessor grafxtron
Processor grafxtron
 
Building Linux IPv6 DNS Server (Complete Soft Copy)
Building Linux IPv6 DNS Server (Complete Soft Copy)Building Linux IPv6 DNS Server (Complete Soft Copy)
Building Linux IPv6 DNS Server (Complete Soft Copy)
 
BITS: Introduction to Linux - Text manipulation tools for bioinformatics
BITS: Introduction to Linux - Text manipulation tools for bioinformaticsBITS: Introduction to Linux - Text manipulation tools for bioinformatics
BITS: Introduction to Linux - Text manipulation tools for bioinformatics
 
Embedded Linux On A R M
Embedded  Linux On  A R MEmbedded  Linux On  A R M
Embedded Linux On A R M
 
Linux Beginner Guide 2014
Linux Beginner Guide 2014Linux Beginner Guide 2014
Linux Beginner Guide 2014
 
Part 5 of "Introduction to Linux for Bioinformatics": Working the command lin...
Part 5 of "Introduction to Linux for Bioinformatics": Working the command lin...Part 5 of "Introduction to Linux for Bioinformatics": Working the command lin...
Part 5 of "Introduction to Linux for Bioinformatics": Working the command lin...
 
Apa itu Debian dan Bagaimana Cara Installnya?
Apa itu Debian dan Bagaimana Cara Installnya?Apa itu Debian dan Bagaimana Cara Installnya?
Apa itu Debian dan Bagaimana Cara Installnya?
 
Debian jessie
Debian jessieDebian jessie
Debian jessie
 
Linux beginner's Workshop
Linux beginner's WorkshopLinux beginner's Workshop
Linux beginner's Workshop
 
Linux server administration for non expert users
Linux server administration for non expert users Linux server administration for non expert users
Linux server administration for non expert users
 
A minor project report HOME AUTOMATION USING MOBILE PHONES
A minor project report HOME AUTOMATION  USING  MOBILE PHONESA minor project report HOME AUTOMATION  USING  MOBILE PHONES
A minor project report HOME AUTOMATION USING MOBILE PHONES
 
Ubuntu – Linux Useful Commands
Ubuntu – Linux Useful CommandsUbuntu – Linux Useful Commands
Ubuntu – Linux Useful Commands
 
Presentation Smart Home With Home Automation
Presentation Smart Home With Home AutomationPresentation Smart Home With Home Automation
Presentation Smart Home With Home Automation
 
Home automation using android mobiles
Home automation using android mobilesHome automation using android mobiles
Home automation using android mobiles
 
Top 100 Linux Interview Questions and Answers 2014
Top 100 Linux Interview Questions and Answers 2014Top 100 Linux Interview Questions and Answers 2014
Top 100 Linux Interview Questions and Answers 2014
 
Slideshare Powerpoint presentation
Slideshare Powerpoint presentationSlideshare Powerpoint presentation
Slideshare Powerpoint presentation
 

Similar to Job Automation using Linux

allscripts.pdf-----schedule.sh------ #!binbash #ssh .docx
allscripts.pdf-----schedule.sh------ #!binbash #ssh .docxallscripts.pdf-----schedule.sh------ #!binbash #ssh .docx
allscripts.pdf-----schedule.sh------ #!binbash #ssh .docx
galerussel59292
 
Linuxppt
LinuxpptLinuxppt
Linuxppt
Reka
 
Easy distributed load test with Tsung
Easy distributed load test with TsungEasy distributed load test with Tsung
Easy distributed load test with Tsung
Ngoc Dao
 
Unit 10 investigating and managing
Unit 10 investigating and managingUnit 10 investigating and managing
Unit 10 investigating and managing
root_fibo
 
Monitoring CPU Utilization on LINUX (Shell Script Project)
Monitoring CPU Utilization on LINUX (Shell Script Project)Monitoring CPU Utilization on LINUX (Shell Script Project)
Monitoring CPU Utilization on LINUX (Shell Script Project)
Dmitry Ponomarenko
 

Similar to Job Automation using Linux (20)

Example Stream Setup
Example  Stream  SetupExample  Stream  Setup
Example Stream Setup
 
Cron
CronCron
Cron
 
Linux talk | scheduled tasks
Linux talk | scheduled tasksLinux talk | scheduled tasks
Linux talk | scheduled tasks
 
Introducing Ansible
Introducing AnsibleIntroducing Ansible
Introducing Ansible
 
allscripts.pdf-----schedule.sh------ #!binbash #ssh .docx
allscripts.pdf-----schedule.sh------ #!binbash #ssh .docxallscripts.pdf-----schedule.sh------ #!binbash #ssh .docx
allscripts.pdf-----schedule.sh------ #!binbash #ssh .docx
 
Linuxppt
LinuxpptLinuxppt
Linuxppt
 
exercises-log-management-rsyslog.pdf
exercises-log-management-rsyslog.pdfexercises-log-management-rsyslog.pdf
exercises-log-management-rsyslog.pdf
 
Linuxppt
LinuxpptLinuxppt
Linuxppt
 
Linuxppt
LinuxpptLinuxppt
Linuxppt
 
Easy distributed load test with Tsung
Easy distributed load test with TsungEasy distributed load test with Tsung
Easy distributed load test with Tsung
 
(Practical) linux 104
(Practical) linux 104(Practical) linux 104
(Practical) linux 104
 
Unit 10 investigating and managing
Unit 10 investigating and managingUnit 10 investigating and managing
Unit 10 investigating and managing
 
3.1.c apend scripting, crond, atd
3.1.c apend   scripting, crond, atd3.1.c apend   scripting, crond, atd
3.1.c apend scripting, crond, atd
 
101 apend. scripting, crond, atd
101 apend. scripting, crond, atd101 apend. scripting, crond, atd
101 apend. scripting, crond, atd
 
Building a DSL with GraalVM (VoxxedDays Luxembourg)
Building a DSL with GraalVM (VoxxedDays Luxembourg)Building a DSL with GraalVM (VoxxedDays Luxembourg)
Building a DSL with GraalVM (VoxxedDays Luxembourg)
 
lec4.docx
lec4.docxlec4.docx
lec4.docx
 
Monitoring CPU Utilization on LINUX (Shell Script Project)
Monitoring CPU Utilization on LINUX (Shell Script Project)Monitoring CPU Utilization on LINUX (Shell Script Project)
Monitoring CPU Utilization on LINUX (Shell Script Project)
 
Docker - A Ruby Introduction
Docker - A Ruby IntroductionDocker - A Ruby Introduction
Docker - A Ruby Introduction
 
How to make a large C++-code base manageable
How to make a large C++-code base manageableHow to make a large C++-code base manageable
How to make a large C++-code base manageable
 
2004 ugm-tips-tricks
2004 ugm-tips-tricks2004 ugm-tips-tricks
2004 ugm-tips-tricks
 

More from Jishnu Pradeep

More from Jishnu Pradeep (6)

Paper Presentation - "Your Botnet is my Botnet : Analysis of a Botnet Takeover"
Paper Presentation - "Your Botnet is my Botnet : Analysis of a Botnet Takeover"Paper Presentation - "Your Botnet is my Botnet : Analysis of a Botnet Takeover"
Paper Presentation - "Your Botnet is my Botnet : Analysis of a Botnet Takeover"
 
Cyber Security of Power grids
Cyber Security of Power grids Cyber Security of Power grids
Cyber Security of Power grids
 
Secure Data Sharing in Cloud (SDSC)
Secure Data Sharing in Cloud (SDSC)Secure Data Sharing in Cloud (SDSC)
Secure Data Sharing in Cloud (SDSC)
 
Telnet
TelnetTelnet
Telnet
 
Augmented Reality & Applications
Augmented Reality & ApplicationsAugmented Reality & Applications
Augmented Reality & Applications
 
Motherboard and its components
Motherboard and its componentsMotherboard and its components
Motherboard and its components
 

Recently uploaded

notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
MsecMca
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
jaanualu31
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
MayuraD1
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 

Recently uploaded (20)

Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to Computers
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdf
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
kiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadkiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal load
 
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 

Job Automation using Linux

  • 2.  Cron is a deamon called "crond" used to schedule and execute jobs or scripts automatically without user intervention. Cron, also referred to as crontab, can help with automated log rotation, scheduled reporting and running of scripts at off times of the day. Cron is primarily used for jobs needing to be executed over and over like log rotation every week or a report email sent out every morning.  An addtitional tool one can use is called "at" and is used to execute a job only once. "at" is very useful, for example if you want run a backup job starting at 8pm and you expect to be leaving at 5:30pm.  In OpenBSD and FreeBSD the daemon cron can handel cron jobs as well at "at" jobs. In Linux the "crond" daemon is used for cron jobs only and a separate daemon "atd" is used for at jobs. Make sure the correct daemon is running for the job scheduler you are looking to use.
  • 3. To use cron tab there are two important commands:  crontab -e edit your crontab entries  crontab -l print the entries from crontab
  • 4.  Here is an example of a very easy to reference header for your crontab. You have the descriptions for every time slot and what every slot will accept. This example also specifies the shell and the path making sure the binaries you run can be found. The last line is an example of running "newsyslog" Sunday at midnight. You are welcome to cut/paste this block to the top of your cron tab.
  • 5. Lets take a look at some examples in order of simple to alittle more complex. Notice all of the binaries are using their absolute paths. Cron uses its own PATH variable and it is a safe practice to always use absolute paths in your crontab. This is to avoid confusion. Rotate logs weekly at 12midnight. (just like the example above) 00 0 * * 0 /usr/bin/newsyslog Rotate logs weekly at 12midnight. (instead of 0 for the day of the week we can use Sun for Sunday) 00 0 * * Sun /usr/bin/newsyslog Mail a report to root everyday at 11:59pm (23:59). 59 23 * * * /usr/local/bin/pflogsumm -d today /var/log/maillog | mail -s "mail report" root
  • 6.  Run the backup scripts at 5am on the 3rd (Wed) and 5th (Fri) day of the week. Send any errors to /dev/null  00 5 * * 3,5 /tools/BACKUP_script.sh >> /dev/null 2>&1  Compress backup files at 6am on the 1st and 15th of the month.  00 6 1,15 * * /tools/BACKUP_compress.sh  Refresh the Squid ad blocker server list every 3 days at 12:05am.  05 0 * * */3 /tools/ad_servers_newlist.sh  Clear the blocked hosts list at 3:23pm (15:23) every Monday only on even numbered months.  23 15 * */2 1 /tools/clear_blocked_hosts.sh
  • 7.  Run a script at 8:45pm (20:45) on 2nd and the 16th only in the months of January and April. 45 20 2,16 1,4 * /tools/a_script.sh  Run a script every day at 8:45pm (20:45) and add a random sleep time between 0 and 300 seconds. 45 20 * * * sleep $(($RANDOM % 300)); /tools/a_script.sh  Run the script at 23:59 (11:59pm) on the last day of the month. 59 23 28-31 * * [ $(date -d +1day +%d) -eq 1 ] && /tools/a_script.sh
  • 8.  To run jobs only once it is easier to use "at" than to setup and cron job and then go back and remove it once the job has ran. Remember you need to have the "atd" daemon running on Linux systems to run "at" jobs. On OpenBSD or FreeBSD system the "crond" daemon will handle "cron" and "at" jobs.  To run an "at" job you need to fist tell "at" what time to run the job. Remember to use absolute paths to avoid confusion. Once to execute att with the time and date you will be put into an "at" shell. This is where you will enter the commands you want to execute, one command per line to make it simple.  In this example we will be executing a set of commands at 5am on January 23rd. The backup script will run and then we will send out mail to root. To close the "at" shell and save the job you must type Ctrl-d (the control key with the lowercase d).