10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
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
18 Replies
2. UNIX for Dummies Questions & Answers
Hello,
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
11 Replies
3. Shell Programming and Scripting
Hi,
How to setup cronjob to run first wednesday of every month. Is there a way?
Thanks.. (9 Replies)
Discussion started by: Anjan1
9 Replies
4. Solaris
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 Replies
5. 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
9 Replies
6. 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?
Thanks.
I tried this:
0 0 2 * 0,2-6 command
And I know this doesnt... (2 Replies)
Discussion started by: newtou
2 Replies
7. UNIX for Dummies Questions & Answers
Instead of the first five fields, one of eight special strings may appear:
string meaning
------ -------
@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
2 Replies
8. UNIX for Dummies Questions & Answers
Morning everyone.
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
2 Replies
9. UNIX for Dummies Questions & Answers
Hi,
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
6 Replies
10. UNIX for Dummies Questions & Answers
Is there a way to setup a cronjob that will only run on the first monday of the month? (3 Replies)
Discussion started by: molonede
3 Replies