11-12-2003
I'd stay away from ../../etc. Give the full path to the program you want to execute. Just a thought.
Cheers,
Keith
Last edited by kduffin; 11-17-2003 at 10:52 PM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a script that is being called from cron job .
This script further call 3 scripts which runs in the background .
main script ( called from cron )
{
script1 &
script2 &
script3 &
}
How to know when the main script is over ?? (3 Replies)
Discussion started by: rahul123_libra
3 Replies
2. Shell Programming and Scripting
need help to write crontab
my crontabe file every minute to rsh and check that it is running or not
i want to change it on every 1o minute please help me
example of my crontab
#check if system is running
* * * * * rsh metal3 /users/test/run.server
i want to check that every 10... (2 Replies)
Discussion started by: deepa20
2 Replies
3. Shell Programming and Scripting
I have a script for pinging the switches and giving me the report:-
#!/usr/local/bin/perl
#!/bin/ksh
#!/usr/bin
#etc
`source /export/home/chinnigd/.profile`;
@names = `cat switches|cut -f1 -d' '`;
@ip = `cat switches|cut -f2 -d' '`;
$num = @names;
$re ="Empty";
$i = 0;
$flag = 0;
while... (3 Replies)
Discussion started by: chinnigd
3 Replies
4. Solaris
hi guys , i need some help
i want to set cron job for every sunday , of each month so any body plz help or this proble :confused: (1 Reply)
Discussion started by: Kbharat20
1 Replies
5. UNIX for Dummies Questions & Answers
Hi All
I have a requirement to schedule my script through cron tab.
I have 2 scripts to schedule.
Case1:My script should run every day in the server.It should be triggered in every 2 mins interval.i.e suppose i implemented the script now my script should run every 2 mins.How can i... (6 Replies)
Discussion started by: dr46014
6 Replies
6. Shell Programming and Scripting
Hi All,
I am required to make a crontab entry, I have the below requirement:
1. It should execute at 06:15 12:00 and 18:30
2. It should execute every day of the month for all the 30 days
I am going to add the below entry in the crontab file.
15,0,30 6,12,18 * * 0-6 cd... (3 Replies)
Discussion started by: Shazin
3 Replies
7. Shell Programming and Scripting
Hi
In my Unix server more than 500 cron jobs are scheduled daily and weekly basics.
Now,I would like to know only list of JOBs,which are running only on 14th of every month?
How can i find only which are all jobs will be scheduled only on 14th.
Please tell me the script. (4 Replies)
Discussion started by: koti_rama
4 Replies
8. Solaris
Q.) What are the fileds in CRON TAB? (1 Reply)
Discussion started by: aparna66
1 Replies
9. Shell Programming and Scripting
Hi,
We have a couple of jobs are scheduled in CRONTAB.
Now. I want generate a report for each job how many times ran successful and failed in a 1 month of time period.
is there any way to find in CRONTAB.
Please advise on this. (1 Reply)
Discussion started by: koti_rama
1 Replies
10. Shell Programming and Scripting
Hi,
I have a cron tab file , which executes a particular script in a scheduled time and creates a output file. Since the cron tab file was created by the root , there is no access permission( for the output files) for other users irrespective of the default directory permission on which the... (5 Replies)
Discussion started by: BalajiUthira
5 Replies
LEARN ABOUT REDHAT
autorun
AUTORUN(1) AUTORUN(1)
NAME
autorun - automatically mounts/unmounts CDROMs and executes /path_to_cdrom/autorun after mounting
SYNOPSIS
autorun [-lmqv?V] [-a EXEC] [-c CDPLAYER] [-e STRING] [-i MILLISEC] [-n STRING]
[-t STRING] [--autorun=EXEC] [--cdplayer=CDPLAYER] [--interval=MILLISEC]
[--lock] [--mountonly] [--notify=STRING] [--notify-insert=STRING] [--notify-eject=STRING]
[--quiet] [--verbose] [--help] [--usage] [--version] [cdromdevices...]
DESCRIPTION
autorun automagically recognises all available CDROMs in your system, mounts them upon insertion and executes a possible 'autorun' exe-
cutable on the CD. To allow an ordinary user to do this you have to add the options user,exec in /etc/fstab to the CDROMs you want to use.
You may also use Autorun.desktop for KDE. Just place it in your Autostart folder.
Command strings are parsed and %P% is replaced by the mountpoint path. %D% is replaced by the device path. After that the command string
will be executed using /bin/sh -c "command string";
OPTIONS
-a, --autorun=EXEC
Execute EXEC, if the CD changes. This executable must be located on the CD. I.e. if you specify "--autorun=myprogram", and your CD
is mounted under /mnt/cdrom, after the CD is changed, autorun will attempt to run "/mnt/cdrom/myprogram". (default "/autorun")
-c, --cdplayer=CDPLAYER
Run CDPLAYER, if an audio CD is inserted (default "/usr/bin/kscd")
-i, --interval=MILLISEC
The time to wait in MILLISEC between checks (default 1000)
-l, --lock
Lock the mounted media (unmount by hand)
-m, --mountonly
mount/unmount only (do not execute anything)
-n, --notify=STRING
Command STRING that will executed if the CD changes (default "/usr/bin/kfmclient configureDesktop")
-t, --notify-insert=STRING
Command STRING that will executed if a CD was inserted and the autorun executable "/autorun" or the one specified with --autorun was
NOT executed. (default "/usr/bin/kfmclient openURL %P%")
-e, --notify-eject=STRING
Command STRING that will executed if a CD was ejected (default "")
-q, --quiet
Don't produce any output
-v, --verbose
Produce verbose output
-?, --help
Give this help list
--usage
Give a short usage message
-V, --version
Print program version
Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options.
AUTHOR
Harald Hoyer <Harald.Hoyer@redhat.de>
There is a project web page at parzelle.de: http://parzelle.de/.
AUTORUN(1)