How will you schedule a job that will run every month last day?(some months have 30 days,some 31 days,28,29 days)
Answer / kirtiranjan sahoo
55 23 28-31 * * [[ "$(date --date=tomorrow +\%d)" == "01" ]] && myjob.sh
| Is This Answer Correct ? | 1 Yes | 0 No |
What are the two files of crontab command?
What is shift command in shell script?
c program to check whether all the directories in the path exists has read and write permission
How will you list only the empty lines in a file (using grep)?
What is a shell script in windows?
What is the use of a shebang line?
what do u mean by $#,$* in unix programming?
What is sudo command?
What is the basic difference you find between a shell script and perl?
What is the first line in a shell script?
What are the disadvantages of shell scripting?
What is the significance of the shebang line in shell scripting?