Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What does it mean by #!/Bin/sh or #!/Bin/bash at the beginning of every script?

1118


What are the types of script?

1252


Why is a script important?

1112


What is a shell script? Can you name some of its advantages?

1129


Write a script to print the first 10 elements of fibonacci series.

2409


How do I set bash as default shell mac?

1053


What is the use of .sh file?

1178


Is shell scripting a language?

1099


What is bourne shell scripting?

1033


How to debug the problems encountered in the shell script/program?

1200


What is the first line in a shell script?

1171


What is the conditional statement in shell scripting?

1285


What are the zombie processes?

1039


What are the different commands available to check the disk usage?

1059


How can the contents of a file inside jar be read without extracting in a shell script?

1182