The cron line is white space separated:
so, you want to find your line, which will be like this:
and change the first two fields for 30 and 14.
Now, often both times are combines using the ',', so maybe it will be 12,15. You now need two lines, since you need two minutes and two hours. This would run 4 times: 1200, 1230, 1400, 1430
Dup the line (yyp) and make one for '0 12' only and one for '30 14'.
Yes! I leave a little room for the student to expand, sometimes too much, but you got it, except the comma is for two times in the same column, minute of hour in your lines. You are missing a column: MOH HH DOM MM DOW Command-line. For instance, "1 2 3 4 5 xx" says "at 2:01 of April 3 when it is a Friday, run xx":
I will initiate a process from Server1 and the flow is as follow
Server1 --> Web server --> Application server --> DB Server
Note all seperate unix servers.
Now I need to put a trace for that process to track the timings from each server.
Like the below trace should be there:
... (5 Replies)
I am making what I think is a simple db2 call from within a shell script but I am having difficulty producing the desired
report when I run the script shown below from a shell script in cron. For example, my script and the crontab file setup
is shown below:
db2... (3 Replies)
If some job supposed to run on 1st of every month at 7 AM
In cron job when we have a blackout on the 1st ( i.e when 1st falls on a sunday ) how can we make the job run the next business day?
2) How can we run a job on 25th of every quarter 7 AM(jan,apr,jul,oct)
And if 25th... (5 Replies)
I need to know the reboot timings of remote servers (all unix/AIX server )with the help of shell script as the list of servers is 400+.
None of the commands uses system name as parameter .What to do ?
I am trying man -b in variety of codes am preparing but all in vain .
#!/bin/ksh... (5 Replies)
Can anyone give me a little clue on why the hard drive cache read timings on sles 9 is better then sles 11? The same hardware was used in both test. I even deleted the ata_generic module from initrd.
The speed difference is 10MB vs 5 MB
Thanks (1 Reply)
Anybody please help me to know ,what happens when a user having entry in both cron.allow and cron.deny files.Wheather the user will be able to access the crontab???
Thanks in advance
Vaisakh (5 Replies)
I want to make one scrip in unix which parsed the timing from the unix mail server for login into the mail server.
say for e.g. we are searching something in google.co.in and google tells us that this much time is elapesed to fetch the data.
same i want to know that how to find the timing... (2 Replies)
I can use 'crontabs –e' and do all the scheduling I like. However I would like to auto send myself just the cronjobs logs that fail. That is to say the PIDs that fail and the related lines with those PID’s only. (Not the full set of logs) Has anyone done this work? Or does an AIX 5.3 tool... (0 Replies)
being ordinary user (not having any administrative rights) can avail myself a facility to know who logged and logged out with their timings get popped onto my terminal as if it get echo 'ed... (3 Replies)