10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi ALL,
I have been testing this script to run for every last Sunday of the month,looks like month which have 5 sunday (july 2016 )is not passing this and failing every time.
Here is what I am using,
current_date=31
echo " CURRENT DAY -> $current_date"
if
... (2 Replies)
Discussion started by: netdbaind
2 Replies
2. Shell Programming and Scripting
I am looking for a unix script which could run a job on 2, 4 and 7 working day of the month.
if the days are falling on the saturday/sunday. it should run on the next day.
Thank you.. (9 Replies)
Discussion started by: tradingspecial
9 Replies
3. Shell Programming and Scripting
I need to run a script every other monday (alternate mondays) , Can anyone has logic to put into timer script.
We are using below logic to run scripts every day
daywk_is=$(date "+%u")
if ]
then
1=monday, 2=tuesday, 3=wed, 4=thr, 5=fri, 6=sat, 7=sun
can anyone have idea on this (14 Replies)
Discussion started by: nani1984
14 Replies
4. Answers to Frequently Asked Questions
I see lot of request posted in internet to find out the day of nth week in a Month.
example:
what is the date of 3rd Sunday in October
What is the date of 2nd Friday in June 2012
what is the date of 4th Saturday in January 2011..etc..
The below shell script is used to find out the... (1 Reply)
Discussion started by: itkamaraj
1 Replies
5. Shell Programming and Scripting
Hello expert,
I need a logic code {don't want to schedule into crontab} which can run some of my code on 31st of Jan, March, Mya, Aug, Oct, Dec.....
Ex:
if then
echo "success"
fi
Please help me in achieving this
Thanks (3 Replies)
Discussion started by: aks_1902
3 Replies
6. Shell Programming and Scripting
Hello Experts,
I have a script which i want to run the on last day of every month.
let say I have backup.sh script which i want to run it every month last day.
Can anyone please help :confused:
thanks (4 Replies)
Discussion started by: aks_1902
4 Replies
7. UNIX for Advanced & Expert Users
Hello Friends,
In my project I have to schedule a script to be run on every second saturday (once in month). Can you please suggest what entry should I make in cron ? (5 Replies)
Discussion started by: sourabhsharma
5 Replies
8. UNIX for Advanced & Expert Users
Is there a utility that can be used in a shell script that would run a .sql file for 30 or 31 days in a month at the same time parallely. Please Advice.
Thanks
SD12. (2 Replies)
Discussion started by: sd12
2 Replies
9. Shell Programming and Scripting
I need help to write a script and it will execute on Saturday of the last week of every month.
For example : 09/30/2006 is the last Saturday on Sept. 2006
08/26/2006 is the last Saturday on Aug. 2006
07/29/2006 is the last Saturday on July. 2006
etc..
... (1 Reply)
Discussion started by: tbdo88
1 Replies
10. Shell Programming and Scripting
Hi All,
I have a tricky problem. I need to write a shell script (bash) which identifies which week off the month it is. I need to create a partition each week. So for the first week (where first of the week is Monday) of March i want to create partition_march_01 and for the second partition... (1 Reply)
Discussion started by: Zak
1 Replies