[wplug] at command
Lance Tost
ltost at pobox.com
Wed Mar 26 22:39:49 EST 2003
On Wed, 26 Mar 2003 Spenglercs at aol.com wrote:
> I am trying to use at command to schedule job to run later.
> Two problems: at -f command1 7:00 AM SAT it will be scheduled to run the
> following Saturday if I issue the command very early saturday morning, say
> 00:10 AM. Is there any way to force it to run later in the day rather than
> next week, without hardcoding the exact date?
Might be a bug. I see the same results as you on my RedHat 8 box but on
my Solaris 9 box, it behaves as expected.
> problem: Myuser issues the job. then logs off. user2 logs on. the mail from
> the job output is sent to user2 instead of myuser. Any way to force the mail
> to myuser?
>From the at manpage:
BUGS
The correct operation of batch for Linux depends on the presence
of a proc- type directory mounted on /proc.
If the file /var/run/utmp is not available or corrupted, or if
the user is not logged on at the time at is invoked, the mail is
sent to the userid found in the environment variable LOGNAME.
If that is undefined or empty, the current userid is assumed.
--
Lance Tost <ltost at pobox.com>
More information about the wplug
mailing list