08-01-2008
i scheduled in the cron as
0,5,10,15,20,25,30,35,40,45,50,55 * * * * /##some path##/myscript.ksh >> /##some path##/myscript.log
output of the log file is...
The Job Successfully scheduled at : Thu Jul 31 07:45:00 MST 2008
61
File name 1
NOT FOUND
1 --> Mail Status for my@mail.com
1 --> Mail Status for other@mail.com
30
File name 2
NOT FOUND
1 --> Mail Status for my@mail.com
1 --> Mail Status for other@mail.com
30
File name 3
NOT FOUND
1 --> Mail Status for my@mail.com
1 --> Mail Status for other@mail.com
44
File name 4
NOT FOUND
1 --> Mail Status for my@mail.com
1 --> Mail Status for other@mail.com
47
File name 5
NOT FOUND
1 --> Mail Status for my@mail.com
1 --> Mail Status for other@mail.com
The Job Successfully ended at : Thu Jul 31 07:45:01 MST 2008
Here for the FIle name 5 the condition is true. Eventhough its comingin as NOT FOUND instead of FOUND. But works fine when executed manually.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm having serious problems running cron. I want to create midnight backups of my files on my unix server and there is something wrong with cron.
Here is what I do:
First I saw that cron is running (while logged on as root) by typing "ps -aedf|grep cron" and I noticed that there is 1 instance... (4 Replies)
Discussion started by: pappous
4 Replies
2. UNIX for Dummies Questions & Answers
Hi there,
this time a have a other problem :)
i will start a script over the cron.
if i start the script manual (per command) it works without any problems, but over the cron it doesent work.
my cron looks like this:
26 15 * * * /path/scriptname.sh 2> /path/error.log
there is no... (3 Replies)
Discussion started by: scotty
3 Replies
3. Shell Programming and Scripting
Hello All,
I m newbie to Job scheduling.
Suppose i have 2 files s1.sh and s2.sh i want to make a schedule such as
run s1.sh at 2AM everyday and run s2.sh 9Pm everyday.
Can anyone tell me how to schdule that using CRON and i want to know what is CRON and CRONTAB.
Thanks in advance (2 Replies)
Discussion started by: ravi.sadani19
2 Replies
4. Solaris
Hello I am new user on solaris...
I need to configure my solaris to be able to send mails...
I know mailx command
mailx -s hello address@address.com
but I get an error...
you have mail in /var/mail/root
# hello... User unknown
/dead.letter... Saved message in /dead.letter
what... (10 Replies)
Discussion started by: amon
10 Replies
5. Shell Programming and Scripting
Hi,
My aim is to generate a report using shell script. There are various formats fields coloumns etc.
I want to print in a single line (row) but in different coloumn as given below:
field1 field2 field3 field4
....... ....... ...... .......
The spacing... (1 Reply)
Discussion started by: jisha
1 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I wrote a script which generates a mail automatically under certain condition. When i execute the script manually in unix the script is getting executed and the condition works accordingly and the mail is also generated. But when it is pu into cron the mail is not generated and the condition... (1 Reply)
Discussion started by: thiru_cs
1 Replies
7. UNIX for Dummies Questions & Answers
Hey all.
Im totally new with makeing websites ect
The thing is, i wanted to make one of those pimp games, so i installed a script called mypimpscript.. it works but the 10mins cron jobs dont...
ive tried to set it up in cpanel, but im doing it wrong :S
right now it looks like this php... (1 Reply)
Discussion started by: princess
1 Replies
8. Red Hat
Whats the difference between mail and mailx?
I'm trying to troubleshoot a problem where I can send mail from server A with this `echo $MESSAGE | mail -s "$SUBJECT" -r $FROM $RECIPIENTS` command but executing the same command from server B throws me this error (Both servers are RHEL)
... (1 Reply)
Discussion started by: RedSpyder
1 Replies
9. Shell Programming and Scripting
Hello.
I would like to do this :
A_VAR_FLAG = "ABCD" +------------+...................................+---------+
...............................|.................|...................................|.............|... (7 Replies)
Discussion started by: jcdole
7 Replies
10. UNIX for Beginners Questions & Answers
Team,
Hope you all are doing fine
I have one admin server which is being used dedicately to run cron jobs on hourly basis, fetching the details from Database which is in a different server.These cronjob are run on every hourly/5 minutes basis depending as per end user requirement.The script... (12 Replies)
Discussion started by: whizkidash
12 Replies
WEDGED(8C) WEDGED(8C)
NAME
wedged - HylaFAX modem wedged script
SYNOPSIS
/var/spool/fax/bin/wedged devid device
DESCRIPTION
bin/wedged is the command script invoked by the facsimile server when a modem is deemed to be in an irreparable state and requires operator
intervention. This decision is based on the setting of the MaxSetupAttempts configuration parameter described in hylafax-config(5F). The
default wedged script sends electronic mail to the FaxMaster alias. The interval at which emails are sent can be configured in the
etc/FaxDispatch file by setting the WEDGED_EMAIL_INTERVAL variable to the desired number of minutes (emails will be sent no more than every
WEDGED_EMAIL_INTERVAL minutes, until the wedged condition persists). If the variable WEDGED_DISABLE_FAXGETTY is set in etc/FaxDispatch
then the script will attempt to disable any faxgetty processes spawned by the init(8C) process for the problematic modem. In addition the
faxq(8C) process automatically disables use of the modem for servicing outbound jobs.
The devid argument is the identifier derived from the name of the modem's device file by substituting ``_'' characters for ``/'' charac-
ters; e.g. term_10 for /dev/term/10. The device argument is the name of the character special device associated with the modem.
If there exists an executable file /var/spool/fax/etc/resetmodem then that file will be executed upon execution of the wedged script in an
effort to recover the modem.
FILES
/usr/sbin/sendmail for delivering mail
SEE ALSO
faxq(8C), hylafax-config(5F)
October 3, 1995 WEDGED(8C)