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 additional egrep symbols?
What is the difference between running a script as ./scriptname.sh and sh scriptname.sh
What is shell scripting used for?
What is the basic difference you find between a shell script and perl?
I want to upload a file to remote server through ftp daily.Can anyone suggest how to make a shell script for that.I hv credentials for that ftp
How to sort a result of Ls -l command based on columns. Ex. i want to sort 5th column from output of ls -l command.
What is sudo command?
I want to monitor a continuously updating log file, what command can be used to most efficiently achieve this?
Hi, i want to zip the files that generates automatically every few minutes (files generated are in .arc extension)....any body write a script for this... thanks in advance
What does $# stand for?
How will you copy a file from one machine to other?
What are the different communication commands available in the shell?