Write a cron entry for the following scenario:-
At 10:30 AM for every Sunday of every 1st month of a
quarter.
Answers were Sorted based on User's Feedback
Answer / santhosh
30 10 * 1-12/3 7
this is the correct answer
or
you can use
30 10 * 1,4,7,10 7
(NOTE: For Sunday you can use 0 or 7)
| Is This Answer Correct ? | 10 Yes | 0 No |
* * * * * command to be executed
- - - - -
| | | | |
| | | | ----- Day of week (0 - 7) (Sunday=0 or 7)
| | | ------- Month (1 - 12)
| | --------- Day of month (1 - 31)
| ----------- Hour (0 - 23)
------------- Minute (0 - 59)
crontab -e for entry.
30 10 * 1,4,7,10 7
| Is This Answer Correct ? | 3 Yes | 1 No |
What is grep command?
What could be the problem when a command that was issued gave a different result from the last time it was used?
Please send Security on linux related questions and answers.
Write about an internal command.
Who is unix command?
How do I check disk space in bash?
What is the use of finger command in linux?
What is the command to see on which port which service is running? And what is the difference between /etc/services file and net stat command?
What is Data Command?
In /boot/grub/grub.conf file there is a line kernel /vmlinuz-version ro root=/dev/sda2, What is the meaning of "/" before vmlinuz? Pls explain?
Which are the linux directory commands?
My machine is running half duplex mode how to change half duplex to full duplex?