[mew-int 01013] Scripting Mew to run from cron

Rene Rebe rene.rebe at example.com
Thu Jul 18 10:01:14 JST 2002


Hi all.

I would like to run fetchmail and XEmacs/Mew from a cron-job,
otherwise my ISP migth delete some mail, when my inbox is full ...

I tried this:
rene at example.com:~ > cat refile-mail.el

(load-file ".xemacs/init.el")
(mew)
(mew-summary-auto-refile)
(mew-summary-exec)

But "xemacs -batch -l refile-mail.el" gives me:

rene at example.com:~ > xemacs -batch -l refile-mail.el
Loading /home/rene/.xemacs/init.el...
Loading completion...
Setting up Mew world...
Updating status...
Loading mew-theme...
Updating status...done
Setting up Mew world...done
Scanning +inbox...
Scanning +inbox...done
Scanning +inbox...
Auto refiling...
Auto refiling...100%
Auto refiling...done
Another process is running. Try later or type C-c C-k to kill it

There is no other "process" running, and from within XEmacs it works
just great. Any idea how to improve my script? (Yes I'm new to
emacs-lisp ...)

k33p h4ck1n6 -- René

--  
René Rebe (Registered Linux user: #248718 <http://counter.li.org>)
e-mail:   rene.rebe at example.com, rene at example.com
web:      www.rocklinux.org, drocklinux.dyndns.org/rene/

Anyone sending unwanted advertising e-mail to this address will be
charged $25 for network traffic and computing time. By extracting my
address from this message or its header, you agree to these terms.



More information about the Mew-int mailing list