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 Posted / kirtiranjan sahoo
55 23 28-31 * * [[ "$(date --date=tomorrow +\%d)" == "01" ]] && myjob.sh
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How does path variable work?
What is path in shell script?
what is info area how many types?
How will you emulate wc –l using awk?
What is a shell made of?
What happens when you type ls?
How do I run a powershell script?
Given a file find the count of lines containing the word "abc".
Rewrite the command to print the sentence and convert the variable to plural: echo “i like $variable”.
How can you find out how long the system has been running?
How do I open a jshell in cmd?
Using set -A write a script to print the output of the ls command in 5 columns with two spaces between each column. Pretend that ls does not have multicolumn output.
write a shell script to generate a alert ? like when ur birthday came then generate a alert ur birthday is today like that ?
What can you do with powershell?
Hello all, This is my assignment on shell scripting, can anyone help me regarding this ? Create a shell script which connects to the database In second shell script include the first script for the DB connection Create a table (PRADEEP_DATA) with 2 columns (name, value) In Third shell script include the first script for the DB connection And insert/delete the values from the Table, by accepting input from the user This functionality should be a menu driven Program: 1) Insert to the database a. Name b. value 2)Delete from the database a.Name b.value Exception handling needs to be taken care.