Question: You have a shell script to automate backups that asks what directory to send the backup to . What is the problem when scheduling it
You have a shell script to automate backups that asks what directory to send the backup to What is the problem when scheduling it as a cron job?
Question Answer
a
Cron jobs cannot be interactive
b
Cron jobs cannot use variables
c
The user should be logged in for the script to properly ask for the input
d
The cron job must be included in root's crontab for the script to properly ask for the input
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
