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)



How will you schedule a job that will run every month last day?(some months have 30 days,some 31 day..

Answer / kirtiranjan sahoo

55 23 28-31 * * [[ "$(date --date=tomorrow +\%d)" == "01" ]] && myjob.sh

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Shell Script Interview Questions

What are the two files of crontab command?

0 Answers  


What is shift command in shell script?

0 Answers  


c program to check whether all the directories in the path exists has read and write permission

1 Answers  


How will you list only the empty lines in a file (using grep)?

4 Answers   ANZ,


What is a shell script in windows?

0 Answers  


What is the use of a shebang line?

0 Answers  


what do u mean by $#,$* in unix programming?

5 Answers   Convergys, TCS,


What is sudo command?

0 Answers  


What is the basic difference you find between a shell script and perl?

3 Answers   Yahoo,


What is the first line in a shell script?

0 Answers  


What are the disadvantages of shell scripting?

0 Answers  


What is the significance of the shebang line in shell scripting?

0 Answers  


Categories