05-13-2013
Hi Scott,
Identified the issue, by adding a single entry one by one
Thanks
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
when i say
$crontab z
it says ==>
"z":6: bad minute
"z":6: bad minute
errors in crontab file, can't install.
any clue why its happening? (1 Reply)
Discussion started by: crackthehit007
1 Replies
2. Shell Programming and Scripting
How to set crontab for every minute or every hour (1 Reply)
Discussion started by: kaushik02018
1 Replies
3. Shell Programming and Scripting
Hi,
I want to modifiy the hour in the crontab AIX 5.3 for this line:
Input:
00 22 * * * /outillage/script_exploit/bin/SavOffline.ksh > /dev/null 2>&1
Output:
30 20 * * * /outillage/script_exploit/bin/SavOffline.ksh > /dev/null 2>&1
With the awk or sed function through a ssh -q... (1 Reply)
Discussion started by: khalidou13
1 Replies
4. UNIX for Dummies Questions & Answers
Hi can any one help me out.
while running crontab , m getting error bad minute time..
how to resolve this error.
i created 1 txt file a.cron
mirrordir -vm \home\t \homet1
& i saved it.
then i created a crontab file ..with
crontab -e
& i added a line in it.
* 1 * * * \root\a.cron
& i save... (2 Replies)
Discussion started by: unxdost114
2 Replies
5. Shell Programming and Scripting
Hi,
Can anyone help me in finding how to run a specific job every hour without using crontab.
Say for example i need to run a command ps -aux in the starting of every hour.. (3 Replies)
Discussion started by: glv
3 Replies
6. AIX
This is a new one on me. We upgraded a system from AIX 5.3 TL 7 to 6.1 TL 7 yesterday. The app people notified us that their cron jobs weren't running at the right time. So I made a test cron entry and here's what I've found:
# crontab -l
* * * * * /usr/bin/date > /tmp/test.log 2>&1
# cat... (2 Replies)
Discussion started by: homeyjoe
2 Replies
7. UNIX for Dummies Questions & Answers
Hi,
When I set the crontab to run every minute, every hour, it works fine.
* * * * * env > /tmp/env.output
However I want to run it every day at 8:00 AM and it does not run.
* 8 * * * env > /tmp/env.output
I ran the 'date' command which says it's 8AM PST and also the 'TZ'... (5 Replies)
Discussion started by: samantha13
5 Replies
8. Solaris
SOLARIS 9 Zone :
date command in crontab shows delayed(One Hour) output
Hi folks,
the date command shows the correct date and time, How ever, if the date command executed through crontab in any form of scrip the output shows as one hour delayed, similar to date -u..
Can some one help in... (12 Replies)
Discussion started by: judi
12 Replies
9. Shell Programming and Scripting
I have a cron: 0 5,11,17,23 * * * /home/oracle/scripts/sysize.ksh
This cron will trigger
cat dbsz.txt | mail -s "$TODAY: PROD DB Size" $RECIPIENTS
I don't want to get the e-mail notice 4 times a day. Can I have just one e-mail triggered at 11 AM?
Please advise.
Thank you (3 Replies)
Discussion started by: Daniel Gate
3 Replies
10. UNIX for Dummies Questions & Answers
Hello,
I wish to modify the day of launch of a "batch" in the crontab on several servers with awk or sed.
Can you help me ?
Beforehand thank you
00 18 * * 1 /box/Pra/bin/systeme_reverse.ksh -s >/dev/null 2>&1 (7 Replies)
Discussion started by: khalidou13
7 Replies
LEARN ABOUT DEBIAN
io::dirent
Dirent(3pm) User Contributed Perl Documentation Dirent(3pm)
NAME
IO::Dirent - Access to dirent structs returned by readdir
SYNOPSIS
use IO::Dirent;
## slurp-style
opendir DIR, "/usr/local/foo";
my @entries = readdirent(DIR);
closedir DIR;
print $entries[0]->{name}, "
";
print $entries[0]->{type}, "
";
print $entries[0]->{inode}, "
";
## using the enumerator
opendir DIR, "/etc";
while( my $entry = nextdirent(DIR) ) {
print $entry->{name} . "
";
}
closedir DIR;
DESCRIPTION
readdirent returns a list of hashrefs. Each hashref contains the name of the directory entry, its inode for the filesystem it resides on
and its type (if available). If the file type or inode are not available, it won't be there!
nextdirent returns the next dirent as a hashref, allowing you to iterate over directory entries one by one. This may be helpful in low-
memory situations or where you have enormous directories.
IO::Dirent exports the following symbols by default:
readdirent
nextdirent
The following tags may be exported to your namespace:
ALL
which includes readdirent, nextdirent and the following symbols:
DT_UNKNOWN
DT_FIFO
DT_CHR
DT_DIR
DT_BLK
DT_REG
DT_LNK
DT_SOCK
DT_WHT
These symbols can be used to test the file type returned by readdirent in the following manner:
for my $entry ( readdirent(DIR) ) {
next unless $entry->{'type'} == DT_LNK;
print $entry->{'name'} . " is a symbolic link.
";
}
For platforms that do not implement file type in its dirent struct, readdirent will return a hashref with a single key/value of 'name' and
the filename (effectively the same as readdir). This is subject to change, if I can implement some of the to do items below.
CAVEATS
This was written on FreeBSD and OS X which implement a robust (but somewhat non-standard) dirent struct and which includes a file type
entry. I have plans to make this module more portable and useful by doing a stat on each directory entry to find the file type and inode
number when the dirent.h does not implement it otherwise.
Improvements and additional ports are welcome.
TO DO
o For platforms that do not implement a dirent struct with file type, do a stat on the entry and populate the structure anyway.
o Do some memory profiling (I'm not sure if I have any leaks or not).
COPYRIGHT
Copyright 2002, 2011 Scott Wiersdorf.
This library is free software; you can redistribute it and/or modify it under the terms of the Perl Artistic License.
AUTHOR
Scott Wiersdorf, <scott@perlcode.org>
ACKNOWLEDGEMENTS
Thanks to Nick Ing-Simmons for his help on the perl-xs mailing list.
SEE ALSO
dirent(5), perlxstut, perlxs, perlguts, perlapi
COPYRIGHT AND LICENSE
Copyright (C) 2007 by Scott Wiersdorf
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.1 or,
at your option, any later version of Perl 5 you may have available.
perl v5.14.2 2011-08-22 Dirent(3pm)