7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have the below requirement ,
if i give the week number for ex 41 i need to get the date for Monday and thursday for this given week. my expected output is 13/10/2014 (Monday's date) and 16/10/2014 (Thursday's date)
I am using GNU LINUX .
Pls help me with your thoughts.
Thanks in... (7 Replies)
Discussion started by: mohanalakshmi
Is there an issue with running a cron entry like the below entries?
0 2 21 12 2 cd /usr/local/bin;./cksecurity.sh -f /home/theninja/security.dat21
I wanted this to run on Tues at 2am, which it did successfully, however I also had the following entry to run next tuesday that also ran on 12/21.... (3 Replies)
Discussion started by: theninja
3. Shell Programming and Scripting
Is it possible to get all the files modified in the last week (Not before or after that week) . I have tried with date range it works for me for the period of seven days , not exactly for weekly basis .
Fetching records for seven day by
find -mtime +6 -a -mtime -13As today date is 3rd... (5 Replies)
Discussion started by: posix
Please help me to set a backup script run at 6AM on Sunday every two week
the 1st sunday, run script backup at 6AM
the 2nd sunday, skip
the 3rd sunday, run script backup at 6AM
the 4nd sunday, skip
... so on
Thank you so much (4 Replies)
Discussion started by: tan.pham
5. UNIX for Dummies Questions & Answers
can someone please check my answers for the crontabs I am making
1. how would I set up a crontab tab executes every 2 minutes each and every day of the week?
answer: 2 * * * * /path/to/file.pl <-- is this correct?
2. how would I set up a crontab that executes every 24 hours at 2am?... (6 Replies)
Discussion started by: Bobafart
6. UNIX for Dummies Questions & Answers
I need to make programmatically
one dir every week Saturday, like 102106, 102806, ...
10 ==> month
21 ==> Saturdays
Any idea? (1 Reply)
Discussion started by: redlotus72
7. Shell Programming and Scripting
I have three dirs
Now we copy backups in 1 initially, then on 1st week we copy few content of 1 into 2 and then run some scripts on that. Then in 2nd week we keep 2 untouched and do the same thing in 3.
So I... (1 Reply)
Discussion started by: csaha