06-03-2013
Thanks
created 2.
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Simple script that removed some files successfully as script sh -x
But not working in crontab, however it fires and writes log files even some count of the files
I set all env and user interaction
The crontab runs in the same user where the files are there.
Script:
## Set the... (11 Replies)
Discussion started by: balaji.rengaraj
11 Replies
2. Shell Programming and Scripting
i have two files as
file1:
1
2
3
file2:
a
b
c
and the output should be:
file3:
1~a
2~b
3~c (1 Reply)
Discussion started by: mlpathir
1 Replies
3. HP-UX
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 Replies
4. UNIX for Dummies Questions & Answers
Hi,
We can schedule a new job using crontab -e.
is there any other way to achieve the same(opening the file directly and add an entry).
I have tried to access /var/spool/crontabs directory. But i am getting permission denied error,
Please help me. Thanks (8 Replies)
Discussion started by: pandeesh
8 Replies
5. UNIX for Advanced & Expert Users
Hi all,
i have the following script
#!/bin/sh
for i in `ps -leaf --cols 1024 | grep LogUser | grep -v grep | awk '{print $4}'`;
do
echo $i
kill -15 $i;
done;
but it seems that the crontab its sciping this script,i configured corntab as following
*/30 * * * root... (2 Replies)
Discussion started by: charli1
2 Replies
6. Shell Programming and Scripting
Hi
Iam running below script in crontab but its not working.
#!/bin/sh
cd /Scripts
/usr/local/bin/expect -f /Scripts/bng_backup.exp /Scripts/data.txt
tar -cf bngbackup.tar bngbackup ;gzip bngbackup.tar
when iam running manually the output file is generating..but bngbackup.tar.gz file... (5 Replies)
Discussion started by: surender reddy
5 Replies
7. UNIX for Dummies Questions & Answers
When I update the crontab, I get error message. Any idea?
0 0-23 * * * /usr/local/scripts/monitor.sh > /dev/null ( BEFORE)
*/5 * * * * /usr/local/scripts/monitor.sh > /dev/null (Now) it doesn't allow me to save the work.
Error message...
crontab: */5 * * * *... (3 Replies)
Discussion started by: samnyc
3 Replies
8. UNIX for Dummies Questions & Answers
Can crontab be removed from an AIX system. We had a script that was running on the system. It stopped working. An outside vendor said that crontab does not exist on the system. and that is why it is not running. How can i verify this and get it back on the systems if needed?
thanks (4 Replies)
Discussion started by: fierfek
4 Replies
LEARN ABOUT REDHAT
uuid_time
UUID_TIME(3) Library Functions Manual UUID_TIME(3)
NAME
uuid_time - extract the time at which the UUID was created
SYNOPSIS
#include <uuid/uuid.h>
time_t uuid_time(uuid_t uu, struct timeval *ret_tv)
DESCRIPTION
The uuid_time function extracts the time at which the supplied UUID uu was created. Note that the UUID creation time is encoded within the
UUID, and this function can only reasonably expect to extract the creation time for UUIDs created with the uuid_generate(3) function. It
may or may not work with UUIDs created by OSF DCE uuidgen.
RETURN VALUES
The time at which the UUID was created, in seconds since January 1, 1970 GMT (the epoch), is returned (see time(2)). The time at which the
UUID was created, in seconds and microseconds since the epoch, is also stored in the location pointed to by ret_tv (see gettimeofday(2)).
AUTHOR
uuid_time was written by Theodore Y. Ts'o for the ext2 filesystem utilties.
AVAILABILITY
uuid_time is part of libuuid from the e2fsprogs package and is available from http://e2fsprogs.sourceforge.net.
SEE ALSO
libuuid(3), uuid_clear(3), uuid_compare(3), uuid_copy(3), uuid_generate(3), uuid_is_null(3), uuid_parse(3), uuid_unparse(3)
E2fsprogs version 1.32 November 2002 UUID_TIME(3)