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 |
How do I know my linux shell version?
What does comm do and how to use it?
Write a command that will look for files with an extension "c", and has the occurrence of the string "apple" in it.
What is echo command in batch file?
What language is a makefile written in?
what is the command to make a process to run in the background from foreground?
i am prepairing for 2+ yrs exp in oracle/unix production support, which topics should i cover in unix/linux and sql plz help
A file which is not deleted by normal user and also root (using rm), for that type of file how we delete it?
what is Bourne shell.
1 Answers Google, HCL, Infosys,
What is p command?
how do u extract files from iso cd images in linux?
What are the linux commands used in devops?