04-12-2016
Thanks a lot! Thats more easier! So i've only to distinguish between the different OS Versions
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi
How can I add a cronjob to the crontab file?
to execute a shel script named testScript.sh every day at 00:00.
Thanks (3 Replies)
Discussion started by: tamer
3 Replies
2. AIX
We recently upgrade from AIX 4.3.3 to AIX 5.3, We noticed that some cronjobs that run for our programmers did not fire off this morning. You can crontab -l and -e and see the jobs. Did AIX 5.3 change something?
Thanks
Mike (1 Reply)
Discussion started by: mcastill66
1 Replies
3. UNIX for Advanced & Expert Users
I set up same cronjobs in two different users to generate messages at 5:30 AM
Not Its generating duplicate messages.
I want to delete the cron entries set up in the first user, but I am unable to view the entries in that user.
I tried to find the process Id, but its not showing any id
Could... (2 Replies)
Discussion started by: nskworld
2 Replies
4. Shell Programming and Scripting
Hi,
We have 4 jobs to be run every month on different times -
* a daily job runs once in 2 days at 3PM
*a weekly runs every thursday at 3PM
* a monthly runs last day of month either 30 or 31st at 3PM
* 4th job runs on 3rd of every month at 3Pm
How can I set the crontab for these 4 jobs... (4 Replies)
Discussion started by: krworks
4 Replies
5. Linux
Hi All,
I am user of a Linux machine and I have approximatly 15 cronjobs scheduled in my crontab. Yesterday my administrator made LDAP active on my userid and all the things are doing fine after that. But all cronjobs for my user id stored in my crontab have stopped working after that.
Could... (1 Reply)
Discussion started by: bisla.yogender
1 Replies
6. Solaris
hi friends,
how to check if the cronjobs is not running and how to make it run again. (1 Reply)
Discussion started by: cromohawk
1 Replies
7. Shell Programming and Scripting
Hello people,
I had these cronjobs scheduled in some Unix boxes which were running fine until yesterday.But then the password was changed for that user id and then the jobs stopped working. As far as i know cron jobs run from super user. I am completely lost over here now.
Thanks. (2 Replies)
Discussion started by: King Nothing
2 Replies
8. Shell Programming and Scripting
hello all,
I have a shell script and I need to schedule it in crontab, I have the next line:
06 16 * * 1,2,3,4,5 /usr/bin/ksh /path/path/name.sh > /path/path/name.log
first, I scheduled from Monday to Friday but it doesn't run, the log file is empty.. any idea why is causing this?... (14 Replies)
Discussion started by: Geller
14 Replies
9. UNIX for Dummies Questions & Answers
Hi there,
i've a question about cronjobs. I'm creating a concept for a centralized logging repository using log4j/log4net. Sadly the appenders I want to use (fileappenders) aren't telegram based but need a permanent stream to the repository. Because I can not assure this I want to log these... (6 Replies)
Discussion started by: collatz
6 Replies
10. Shell Programming and Scripting
Hello Everyone,
We have a cronjob scheduled to pick up files from one system and transfer to another system. the underlying code is a shell script. These cronjobs were working correctly until sometime. 2 days back they did not pick up the scripts but created empty logs. However when we tried... (6 Replies)
Discussion started by: Rads
6 Replies
LEARN ABOUT DEBIAN
module::versions::report
Module::Versions::Report(3pm) User Contributed Perl Documentation Module::Versions::Report(3pm)
NAME
Module::Versions::Report -- report versions of all modules in memory
SYNOPSIS
use Module::Versions::Report;
...and any code you want...
This will run all your code normally, but then as the Perl interpreter is about to exit, it will print something like:
Perl v5.6.1 under MSWin32.
Modules in memory:
attributes;
AutoLoader v5.58;
Carp;
Config;
DynaLoader v1.04;
Exporter v5.562;
Module::Versions::Report v1.01;
HTML::Entities v1.22;
HTML::HeadParser v2.15;
HTML::Parser v3.25;
[... and whatever other modules were loaded that session...]
Consider its use from the command line:
% perl -MModule::Versions::Report -MLWP -e 1
Perl v5.6.1 under MSWin32.
Modules in memory:
attributes;
AutoLoader v5.58;
[...]
DESCRIPTION
I often get email from someone reporting a bug in a module I've written. I email back, asking what version of the module it is, what
version of Perl on what OS, and sometimes what version of some relevent third library (like XML::Parser). They reply, saying "Perl 5". I
say "I need the exact version, as reported by "perl -v"". They tell me. And I say "I, uh, also asked about the version of my module and
XML::Parser [or whatever]". They say "Oh yeah. It's 2.27". "Is that my module or XML::Parser?" "XML::Parser." "OK, and what about my
module's version?" "Ohyeah. That's 3.11." By this time, days have passed, and what should have been a simple operation -- reporting the
version of Perl and relevent modules, has been needlessly complicated.
This module is for simplifying that task. If you add "use Module::Versions::Report;" to a program (especially handy if your program is one
that demonstrates a bug in some module), then when the program has finished running, you well get a report detailing the all modules in
memory, and noting the version of each (for modules that defined a $VERSION, at least).
USING
Importing
If this package is imported then END block is set, and report printed to stdout on a program exit, so use "use Module::Versions::Report;"
if you need a report on exit or "use Module::Versions::Report ();" otherwise and call report or print_report functions yourself.
report and print_report functions
The first one returns preformatted report as a string, the latter outputs a report to stdout.
COPYRIGHT AND DISCLAIMER
Copyright 2001-2003 Sean M. Burke. This library is free software; you can redistribute it and/or modify it under the same terms as Perl
itself.
This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of
merchantability or fitness for a particular purpose.
MAINTAINER
Ruslan U. Zakirov <ruz@bestpractical.com>
AUTHOR
Sean M. Burke, <sburke@cpan.org>
perl v5.10.0 2008-10-21 Module::Versions::Report(3pm)