10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
how to get the next month end date.
dt=01312014
output=02282014 (2 Replies)
Discussion started by: w020637
2 Replies
2. Shell Programming and Scripting
I needed a cron job to run on the second to last friday of every month. Our servers are running HP-UX, and the HP-UX date command is pretty basic and does not have all of the fancy options that Linux date command does, and it does not have the ability at all to return future dates. So I had to... (0 Replies)
Discussion started by: lupin..the..3rd
0 Replies
3. Shell Programming and Scripting
Hello,
basically I'm looking after a way of showing how many time is left to the end the day, week, month...
I can't seem to figure this out, so could one of you skilled guys tell me how should this be approached?
Examples:
Time left:
Day: 12h 12m 11s
Week: 4d 12h 12m 11s
Month:... (4 Replies)
Discussion started by: TehOne
4 Replies
4. Shell Programming and Scripting
Hi ,
Can someone please assist to get monthend using cal utility and monthend shouldn't be saturday or sunday.
Cheers,
gehlnar (2 Replies)
Discussion started by: gehlnar
2 Replies
5. Shell Programming and Scripting
I am running AIX 5.3 with the default shell as ksh.
I would like to know how to run a cron job on this system the last calendar day of the month. I found an example, but, I'm not sure if it will work with AIX and ksh...
02 16 * * * && /home/user/job-eom.kshI also need to be able to run a... (2 Replies)
Discussion started by: jthompson333
2 Replies
6. UNIX for Advanced & Expert Users
Hi,
How to get the lastmonth's end date? (have current date) through s shell script. I need to get it and pass it to a procedure.
Please advice.
Thanks in advance. (7 Replies)
Discussion started by: vanathi
7 Replies
7. UNIX for Dummies Questions & Answers
Dear all
How can I schedule the cronjob to be run sometime at every first Sunday at every month? I have the edit the cronjob every month now, thanks (2 Replies)
Discussion started by: shanemcmahon
2 Replies
8. UNIX for Dummies Questions & Answers
Hi all,
Needs your help in scheduling a cron job for the below mentioned requirement. Just let me know if anybody has a similar job running as mentioned below:
Month end reports - Report of all items created in a parent table that were created during the week.
Presently this report runs... (3 Replies)
Discussion started by: Bhups
3 Replies
9. UNIX for Advanced & Expert Users
Is it possible to use cron to schedule a job that will run the first 3 Sunday's during a month in addition to the last day of the month? (3 Replies)
Discussion started by: cpete
3 Replies
10. Shell Programming and Scripting
Is there a way to use cron to run a job on the 1st Wednesday of every month?? The more generic question is, "Are all of the fields in crontab AND'd together or are some OR'd?".
i.e. I had an entry in my crontab this morning as follows and I didn't expect it to run since the day of month is 20... (5 Replies)
Discussion started by: bradtri
5 Replies