RE: Error using crontab
Posted in 2001
Topics: General Discussion
Posting to the correct group would help:-)) But .... what are you trying to do? the sendmail message is not an error, just a warning and the mail should still send Paul Watson # WF Software Ltd # If its hard to code Tel: +44 1436 674729 # then it should be Fax: +44 1436 678693 # impossible to use www.wfsoftware.com # > -----Original Message----- > From: chelsia [mailto:chelsia@allworkforce.com] > Sent: 09 January 2001 14:16 > To: informix-list@iiug.org > Subject: Error using crontab > > > Hi, > > When I'm using crontab to do scheduling, it never works. > I notice that 1 minute after the time that I specify in the > schedule, a > message appear in my prompt like this: > awf_web sendmail[1845]: unable to qualify my own domain name > (awf_web) -- > using short name > > Is there any parameter that I need to set up before I run the crontab? > > Please reply for any suggestions. > Thank you. > > -- > Best Regards, > Chelsia > > ********************************************************************** The contents of this e-mail are confidential to the ordinary user(S) of the mail address(es) to which it was sent and may be legally privileged. If you are not the intended recipient, any disclosure, copying, distribution or use of it, or any part of it, in any form whatsoever, and any actions taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. **********************************************************************
Watson Paul wrote: > > Posting to the correct group would help:-)) But .... > what are you trying to do? the sendmail message is not > an error, just a warning and the mail should still send <snip> > > From: chelsia [mailto:chelsia@allworkforce.com] <snip> > > Hi, > > > > When I'm using crontab to do scheduling, it never works. > > I notice that 1 minute after the time that I specify in the > > schedule, a > > message appear in my prompt like this: > > awf_web sendmail[1845]: unable to qualify my own domain name > > (awf_web) -- > > using short name > > > > Is there any parameter that I need to set up before I run the crontab? > > > > Please reply for any suggestions. > > Thank you. Chelsia: as Paul hinted, it's likely that your cron script does run. You've probably got a sendmail configuration problem and not a con problem. In general with cron scripts you need to set all the variables you can think of, and remember that the default shell is likely to be /bin/sh. Try making your script log some output to a file somewhere, you'll probably find that it works fine. The cron process always mails you the output from your script - unless the sendmail is part of your script... -- So Archimedes Plutonium is tied to a stake in the backyard, and sleeping in his kennel. K*bo tiptoes up (carrying a dustbin lid) and measures the length of the chain Arch is tied to, then marks a radius on the ground...