Search Results

Search: Posts Made By: captainzeb
15,826
Posted By captainzeb
Thanks to all for the perl help. I don't have...
Thanks to all for the perl help. I don't have perl on my servers so found a program on the net, compiled it and did this:

#setup the datetime variables to get last night at 23:59:59
cc=`date...
15,826
Posted By captainzeb
how to get number of seconds
How do I get the number of seconds since 1970, within a script, for the previous day at 23:59? I need this value to pass into a sql statement to cleanup records older than the previous day at...
3,067
Posted By captainzeb
I just checked and it worked perfectly. Many...
I just checked and it worked perfectly. Many thanks for your expertise!

This is a great forum.
3,067
Posted By captainzeb
Here's what I setup before leaving work Friday: ...
Here's what I setup before leaving work Friday:

j1="`find /apps/oasis/prdben/log -name "j1*log" -ctime -30`"
for var in $j1 ; do
rdist -c $var oasis@oastdby:
done

It still copies the...
3,067
Posted By captainzeb
rdist -- but not linked files
How do I rdist a directory from one server to another, excluding soft and hard links?

current rdist syntax:

1 2 * * * cd /apps/oasis/prdsch/log; rdist -c j1*.log...
30,812
Posted By captainzeb
Thanks man. That's it!
Thanks man. That's it!
30,812
Posted By captainzeb
submit a ksh script in background
I submitted a ksh script in the background last night before leaving work:

./ping_test &

When I came into work this morning I discovered that it had stopped running when my session timed out.
...
65,064
Posted By captainzeb
Thanks. I will test and advise.
Thanks. I will test and advise.
65,064
Posted By captainzeb
I did as you suggested but get this error: ...
I did as you suggested but get this error:

sh: test: 0403-021 A ] character is missing.

Here is my syntax (modified for testing today):

57 13 * * 4 [ `date +%e` -gt 8 -a `date +%e` -lt 11 ]...
65,064
Posted By captainzeb
Can cron do this?
Can cron run a script on the 4th Saturday of the month, every month? I don't believe it can.

Here's what I have so far:

30 5 24-31 * 6 <command>
Showing results 1 to 10 of 10

 
All times are GMT -4. The time now is 07:11 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy