From owner-freebsd-questions Mon May 7 10:13:17 2001 Delivered-To: freebsd-questions@freebsd.org Received: from lcmail2.lc.ca.gov (lcmail2.lc.ca.gov [165.107.12.11]) by hub.freebsd.org (Postfix) with ESMTP id 4FF8137B422 for ; Mon, 7 May 2001 10:13:14 -0700 (PDT) (envelope-from drewt@writeme.com) Received: from CONVERSION-DAEMON by lcmail2.lc.ca.gov (PMDF V5.2-27 #40821) id <0GCZ00O016I9FI@lcmail2.lc.ca.gov> for freebsd-questions@FreeBSD.org; Mon, 7 May 2001 10:13:22 -0700 (PDT) Received: from tagalong ([165.107.42.167]) by lcmail2.lc.ca.gov (PMDF V5.2-27 #40821) with SMTP id <0GCZ00GN16I7O3@lcmail2.lc.ca.gov> for freebsd-questions@FreeBSD.org; Mon, 07 May 2001 10:13:19 -0700 (PDT) Date: Mon, 07 May 2001 10:13:02 -0700 From: Drew Tomlinson Subject: Works From Command Line But Not From Cron? To: "FreeBSD Questions (E-mail)" Message-id: MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) Content-type: text/plain; charset="iso-8859-1" Content-transfer-encoding: 7bit Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am new to using cron. I have a simple command that I would like have run every so often to update my dynamic IP address. This is the command: lynx -source -auth=username:password 'http://dynamic.zoneedit.com/auth/dynamic.html?host=www.mydomain.com' >> /var/log/lynx_dns_update.log And the successful output from the log: This command runs fine from the command line but does not seem to work (no update) as a cron job. From my cron log: May 7 10:05:00 blacksheep CRON[30684]: (root) CMD (lynx -source -auth=username:password 'http://dynamic.zoneedit.com/auth/dynamic.html?host=test.mykitchentable.net' >> /var/log/lynx_dns_update.log) And nothing gets appended into my logfile. Here is my cron entry from /var/cron/tabs/root: * * * * * lynx -source -auth=username:password 'http://dynamic.zoneedit.com/auth/dynamic.html?host=test.mykitchentable.net' >> /var/log/lynx_dns_update.log So can anyone tell me why it works from the command line but not from cron? Thanks for your help! Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message