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 |
How do I debug a shell script?
give me some website where i can get unix and testing meterials
What are the zombie processes?
What is shell scripting used for?
Create a bash shell script to sort and then uniq the file from the command line & store it to a new file and output the results to the screen. Name this script "sortAndUniq.sh"
What is the way to do multilevel if-else's in shell scripting?
What does $$ mean in shell script?
Script S1 (which copies .dat files from one directory1 to another directory2) run continuously. Write Script S2 which kills S1 first, compresses all .dat files in directory1 and directory2 successfully, re-run Script S1 and stops self i.e. S2.
What are environment variables?
Is shell scripting a language?
What is the use of echo in shell script?
When you login to a c shell, which script would be run first?