QuestionQ148

Essential Commands

Which of the following crontab entries runs myscript at 30 minutes past each hour on Sundays?

  • A 0 * * * 30 myscript
  • B 30 * * * 6 myscript
  • C 30 0 * * 0 myscript
  • D 30 0-23 * * 0 myscript
  • E 0 0-23 * * 30 myscript
Explanation

Cron schedules use the fields minute, hour, day of month, month, and day of week. 30 0-23 * * 0 specifies minute 30 of every hour from 0 through 23, on Sunday (0).

Community Discussion

No comments yet. Be the first to start the discussion!