Oracle
1Z0-460 · Question #4
View the cron job example below. How often will this cron job run? 0 / 5 command
The correct answer is B. every 5 hours. Execute a cron job every 5 Hours The second field is for hours. If you specify in this field, it runs every hour. If you specify /5 in the 2nd field, it runs every 5 hours as shown below. 0 /5 /home/ramesh/backup.sh
Deployment and Troubleshooting
Question
View the cron job example below. How often will this cron job run? 0 */ 5 * * * command
Options
- Aevery 5 minutes
- Bevery 5 hours
- Cevery 5 days
- Devery 5th month
How the community answered
(69 responses)- A7% (5)
- B75% (52)
- C14% (10)
- D3% (2)
Explanation
Execute a cron job every 5 Hours The second field is for hours. If you specify * in this field, it runs every hour. If you specify */5 in the 2nd field, it runs every 5 hours as shown below. 0 */5 * * * /home/ramesh/backup.sh
Topics
#cron syntax#job scheduling#cron expression#task automation
Community Discussion
No community discussion yet for this question.