08-15-2011
10 13 * * * /home/josh/Alram_Clock
It doesn't seem to work. I'm i doing it wrong.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Is there anyway to get the start time and end time / status of a crontab job which was just completed? Of course, we know the start time of the crontab job since we are scheduling. But I would like to know process start and time recorded somewhere or can be fetched from a command like 'ps'. ... (3 Replies)
Discussion started by: thambi
3 Replies
2. Shell Programming and Scripting
Hi All,
Using Expect script when I run it manually it works. But when I put the entry in crontab, the job is still running after 15 hours. The script was created as root. I don't think it's a permission issue. Any idea?
This is what I have under root crontab...
00 18 * * 1-5... (4 Replies)
Discussion started by: samnyc
4 Replies
3. Shell Programming and Scripting
Hi,
I have a script which does a tar and sends it to another server as backup.
Script is as below
# Locations to be backed up. Seperate by space
BACKUP_LOCATIONS=/repos/subversion
BACKUP_BASE_FOLDER=/bakpool
BACKUP_FILE_NAME_ROOT=svn-backup
START_TIME_DISP=`date`
START_TIME=`date... (11 Replies)
Discussion started by: digitalrg
11 Replies
4. Shell Programming and Scripting
Hi,
I need some simple but time-consuming script, I would like to compare run time in different shells. I thought about factorial or exponentiation in many loop, but I don't know it's a good idea.
Do you know some simple, time-consuming (arithmetic) script ??
I would be thankful for every... (8 Replies)
Discussion started by: Physix
8 Replies
5. UNIX for Dummies Questions & Answers
I am new to unix and therefore I did a lot of reading before posting. So please, if this has been answered before, forgive me for re-posting and point me to the right place for the answer. I have spent many hours searching the net and read over 50 posts in this forum and even tried a few thing but... (20 Replies)
Discussion started by: sssccc
20 Replies
6. Shell Programming and Scripting
Hi All,
I have prepared a small script to monitor few applications running on diff unix boxes(frontend/backed node1/node2 etc).
ssh does not work for node2 when script executed from crontab..:wall: it work fine when i run it manually.
Regards,
Pavan (4 Replies)
Discussion started by: pavanchouksey
4 Replies
7. Shell Programming and Scripting
Hello All,
I have created a shell script, When i run it manually as ./<script_name> it takes 5 hours to run, but when i am scheduling it in crontab, it is taking 20 hours to run.
Please help me and advice, what can be done to reduce the time in crontab.
Thank you (6 Replies)
Discussion started by: anand2308
6 Replies
8. Shell Programming and Scripting
Hi,
I'm looking for a way to do a simple math calc during a shell script as a means of logging how long a particular task takes.
For example...
STARTTIME=whenever this script starts
./path/to/command.sh >>logfile.log
TOTALTIME=<time at this stage of the script after above command... (7 Replies)
Discussion started by: nbsparks
7 Replies
9. Shell Programming and Scripting
I've put together a very simple bash script to check for software patches and bounce the server, once complete. This is on a Mac server. The script works just fine upon execution, however, cron responds with:
/bin/sh: /usr/local/bin/softwareupdates.sh: No such file or directory
Crontab:
... (6 Replies)
Discussion started by: Nvizn
6 Replies
10. UNIX for Advanced & Expert Users
Hello,
I am trying to run a script through crontab and it runs the first time and then it does not run.
I tried to run a simple script (as shown below) and I see the same issue.
#!/bin/ksh
clear
echo "Good Morning, World." > /tmp/test123
Crontab Entry:
30 09 * * *... (9 Replies)
Discussion started by: hasn318
9 Replies
LEARN ABOUT DEBIAN
pristine-gz
PRISTINE-GZ(1) pristine-gz PRISTINE-GZ(1)
NAME
pristine-gz - regenerate pristine gz files
SYNOPSIS
pristine-gz [-vdk] gendelta file.gz delta
pristine-gz [-vdk] gengz delta file
DESCRIPTION
This is a complement to the pristine-tar(1) command. Normally you don't need to run it by hand, since pristine-tar calls it as necessary to
handle .tar.gz files.
pristine-gz gendelta takes the specified gz file, and generates a small binary delta file that can later be used by pristine-gz gengz to
recreate the original file.
pristine-gz gengz takes the specified delta file, and compresses the specified input file (which must be identical to the contents of the
original gz file). The resulting file will be identical to the original gz file used to create the delta.
The approach used to regenerate the original gz file is to figure out how it was produced -- what compression level was used, whether it
was built with GNU gzip(1) or with a library or BSD version, whether the --rsyncable option was used, etc, and to reproduce this build
environment when regenerating the gz.
This approach will work for about 99.5% of cases. One example of a case it cannot currently support is a gz file that has been produced by
appending together multiple gz files.
For the few where it doesn't work, a binary diff will be included in the delta between the closest regneratable gz file and the original.
In the worst case, the diff will include the entire content of the original gz file, resulting in a larger than usual delta. If the delta
is much larger than usual, pristine-gz will print a warning.
If the delta filename is "-", pristine-gz reads or writes it to stdio.
OPTIONS
-v
--verbose
Verbose mode, show each command that is run.
-d
--debug
Debug mode.
-k
--keep
Don't clean up the temporary directory on exit.
ENVIRONMENT
TMPDIR
Specifies a location to place temporary files, other than the default.
AUTHOR
Joey Hess <joeyh@debian.org>, Faidon Liambotis <paravoid@debian.org> Josh Triplett <josh@joshtriplett.org>
Licensed under the GPL, version 2.
perl v5.14.2 2013-06-01 PRISTINE-GZ(1)