IST 191 Test 1 Ch 2
What is Field 7 of the cron job entry in the /etc/crontab file?
Command
What is Field 1 of the cron job entry in the /etc/crontab file?
Minutes
Crond is controlled by multiple _______ files, one per user and systemwide files
user
Administrators can also use this location to more easily group related jobs into a single file, or to push jobs using a configuration management system.
/etc/cron.d/
The crontab system also includes repositories for scripts that need to run every hour, day, week, and month. The directory for scripts that need to run daily is:
/etc/cron.daily/
Recurring system jobs are defined in two locations: ___________ and __________
/etc/crontab, /etc/cron.d/
How many queues does the atd daemon provide?
26
Enter the command to create a cron job for the user Aaron which will execute a script at /home/Aaron/bin/big_deal_process.sh every Monday and Thursday at 4:47 PM.
47 16 * * Mon,Thurs Aaron /home/Aaron/bin/big_deal_process.sh
How do you specify for a job to run at 5 pm on October 3, 2021?
5pm October 3, 2021
What is Field 3 of the cron job entry in the /etc/crontab file?
Day-of-Month
What is Field 5 of the cron job entry in the /etc/crontab file?
Day-of-Week
What is Field 2 of the cron job entry in the /etc/crontab file?
Hours
What is Field 4 of the cron job entry in the /etc/crontab file?
Month
The __________ <JOBNUMBER> command will remove a scheduled job.
atrm
What is Field 6 of the cron job entry in the /etc/crontab file?
User-Name
A new job can be scheduled by using the command: _____<TIMESPEC>
at
Enter the atd command to run a job at midnight.
at 12 AM
Enter the atd command to run a job at eight o'clock on Monday.
at 8 AM Mon
The ______ daemon does not use configuration files.
atd
The crond daemon is used to run a job on a recurring schedule while the _____ daemon is used to run a job once in the future.
atd
To get an overview of the pending jobs for your user, use the command __________or, alternatively, the alias at -l.
atq
The crond ______ files give users and administrators control over exactly when their jobs should be executed.
configuration
The ______ daemon is shipped with Red Hat Linux systems.
crond
Crond User files are edited with the _________ command
crontab
Normal users can use the ______ command to manage their jobs.
crontab
What is the crontab command to list the jobs for the current user?
crontab -1
What is the crontab command to edit jobs for the current user?
crontab -e
What is the crontab command to remove all jobs for the current users.
crontab -r
What is the crontab command to remove all jobs and replace with the jobs read from <filename>. If no file is specified, stdin will be used.
crontab <filename>
What do you enter to end an atd command
ctrl+d
The directories for jobs that need to run periodically contain ______________ shell scripts, not crontab files.
executable
How do you specify for a job to run at noon four days from now
noon +4 days
How do you specify for a job to run 5 minutes from now
now +5min
How do you specify for a job to run tomorrow at teatime
teatime tomorrow