nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

scan without changing folder?


From: Paul Fox
Subject: scan without changing folder?
Date: Sat, 24 Apr 2021 18:49:43 -0400

I have reason to want to do a scan listing of a folder from a cron job.

Since "scan +folder" will switch to that folder, this means that the
current folder might change whenever my cron job runs.

Is there a way around this?

The only workaround I've thought of (and I'm not sure it will work) is
to create a dummy user, with its own .mhprofile, its own Path:, and
its own context file, and a symlink to the real folder I want to scan.

Seems messy.  :-)

Any simpler/better ways?

paul
=----------------------
 paul fox, pgf@foxharp.boston.ma.us (arlington, ma, where it's 62.6 degrees)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]