10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have came across the scenario where, we have to run the script on second and fourth Monday of each month.
I have tried to search man page of date and also forum for it but, could not get any answer to this.
Can you please advise how can we get second and fourth Monday of the month?
... (18 Replies)
Discussion started by: Prathmesh
2. UNIX for Dummies Questions & Answers
I wanted to set Crontab for 4th and 25th of every month at 5:00 PM.
Script should take previous month and current year as command line arguement like...
/home/test1.sh -f ABCD 03 2014
so above script will run on 4th and 25th April 2014 but argument should be like previous month... (11 Replies)
Discussion started by: ajju
3. Shell Programming and Scripting
How to setup cronjob to run first wednesday of every month. Is there a way?
Thanks.. (9 Replies)
Discussion started by: Anjan1
What should be the crontab entry in solaris to run a script on 1st of every month?
Is this correct?
00 02 1 * * <script to be executed> (5 Replies)
Discussion started by: deepaksahni0109
5. UNIX for Advanced & Expert Users
Could any one please let me know the crontab entry for scheduling a job for every first monday of the month?
Thank You in advance,
Sue (2 Replies)
Discussion started by: pyaranoid
6. Shell Programming and Scripting
i've created a script which should run every last day of the month. what would be the exact crontab entry for this? thanks! (9 Replies)
Discussion started by: tads98
7. UNIX for Dummies Questions & Answers
I know I can't schedule this in cron and would have to write a wrapper around my script and schedule it in cron ....but not sure how do to this?
How do I exclude Monday if the 2nd day of the month falls on a Monday?
I tried this:
0 0 2 * 0,2-6 command
And I know this doesnt... (2 Replies)
Discussion started by: newtou
8. UNIX for Dummies Questions & Answers
Instead of the first five fields, one of eight special strings may appear:
@reboot Run once, at startup.
@yearly Run once a year, "0 0 1 1 *".
@annually (same as @yearly)
@monthly Run once a month, "0 0 1 * *".
@weekly Run once... (2 Replies)
Discussion started by: paulds
9. UNIX for Dummies Questions & Answers
You'll need to excuse me for I'm running a little empty this morning.
Need to execute a job every second Tuesday of the month. Am I correct in my understanding that this isn't possible directly from crontab & hence I'll need to script. Does anyone have any similar solutions ?... (2 Replies)
Discussion started by: Cameron
10. UNIX for Dummies Questions & Answers
I need to display the date of the first monday of a month.
Can any one please help me on this.
Thanks in advance. (6 Replies)
Discussion started by: Sheethal