On Jan 3, 2006, at 8:04 PM, Kris Kerwin wrote:
Hi all,
Let's play everyone's favorite game, "What did Kris do wrong"? ;-)
I've been working on a set of scripts to utilize Mark Lyon's gml
(Google Mail Loader), a tool to upload email to GMail for easy
storage and searching.
So far, the scripts work when called explicitly from the command line,
but will not work when called from a cron job.
you ARE aware that your environment and your cron's environment are
not the same, right? Paths are not the same....etc. you might want
to add an env command to the top of this script and compare that with
an env command run at the command line to see the differences.
Here's what I entered in my crontab:
--- <file: /etc/crontab> ---
# Sync GMail
*/5 * * * * kris bash /home/kris/bin/gmail_export/gmail_export.sh
---------------------------------
Thanks in advance!
Kris Kerwin
[EMAIL PROTECTED]
--
gentoo-user@gentoo.org mailing list