10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi All,
Can you please let me know how to get the yesterday's date of the given date if the given date is Sunday?
I can't use GNU. I have the code to get the yesterday's date based on the system date.
Thanks (5 Replies)
Discussion started by: shash
5 Replies
2. Shell Programming and Scripting
Hi,
Can anyone help in editing CRON (OR) write a script to run another script every second saturday??
I tried to make use of DATE command to find the day but couldnt proceed further.
your help is highly appreciated!
Thanks,
Mahi (11 Replies)
Discussion started by: mahi_mayu069
11 Replies
3. Shell Programming and Scripting
Hi All,
I have a requirement in my project where a batch runs on any day of a week. The input files will land to the server every Sunday. I need to read these files based on the current BUS_DAY (which falls any day of the week).
For e.g : if the BUS_DAY is 20120308, we need to derive the... (3 Replies)
Discussion started by: dsfreddie
3 Replies
4. Shell Programming and Scripting
Hi
Please help me with this problem
i need to find the date of last week sunday from the current given date (12 Replies)
Discussion started by: aishsimplesweet
12 Replies
5. Windows & DOS: Issues & Discussions
Hi am trying to get the upcoming Saturday date in the batch file.
Kindly help ASAP. its urgent.
:confused: (10 Replies)
Discussion started by: Zensar
10 Replies
6. Shell Programming and Scripting
Hi,
I have a requirement to define all Saturdays/Sundays of every month in a year as holidays. I am making use of Date::Manip package available in perl.
I tried writing a recurrence as :
0:1*3:7:0:0:0 --> this relation helps me to define 3rd Sunday of a year as sunday.
My requirement is... (1 Reply)
Discussion started by: harpreetanand
1 Replies
7. UNIX for Dummies Questions & Answers
How to find last sunday (date) using perl?
Eg, If i run today (26-Feb-2008 / Tuesday), I should get 24-Feb-2008 (Sunday).
Any help? (3 Replies)
Discussion started by: deepakwins
3 Replies
8. Shell Programming and Scripting
Hi List,
I need write a script that looks for a file with name File_03-09_to_03-15_data.txt (File_LastSunday_to_LastSaturday_data.txt). If this file is not exists i have to look for a pervious weeks file like File_03-02_to_03-08_data.txt. This loop should continue untill it get a file or no file... (0 Replies)
Discussion started by: rejirajraghav
0 Replies
9. Solaris
Hi ,
I have a date parameter passed in YYYYMMDD format , how can I check whether it is Sat or Sun on Solaris box , as we can do the same easily on linux box by using date -d YYYYMMDD '+a' .
Any pointres will be really helpful . (5 Replies)
Discussion started by: harpreetanand
5 Replies
10. Shell Programming and Scripting
Hi,
I need to develop a script to check for the day. If the day is a Saturday then the script should check if the Saturday is the last Saturday of the month so that certain set of instruction can be executed is it is the last Saturday. I do not want to use the crontab as this needs to be part... (9 Replies)
Discussion started by: jobbyjoseph
9 Replies