Bug 117102 - at not running scheduled tasks
Summary: at not running scheduled tasks
Keywords:
Status: CLOSED DUPLICATE of bug 109587
Alias: None
Product: Fedora
Classification: Fedora
Component: at
Version: 1
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jens Petersen
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-02-28 15:25 UTC by Sergio Pascual
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-02-21 19:01:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Sergio Pascual 2004-02-28 15:25:29 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6)
Gecko/20040124 Galeon/1.3.13

Description of problem:
Tasks scheduled with at are not done. 
Instead, a file named "2"
appears in the working directory.
The mail with the output of the scheduled task is send, but the content
of the mail is compose of error messages described below

Version-Release number of selected component (if applicable):
at-3.1.8-46.1

How reproducible:
Always

Steps to Reproduce:
1. Run a progran inside at:
prompt$ at now
at> ls
at> Crtl-D

Actual Results:  A file named 2 appears in the working directory. to
see the contente of the file I make
prompt$ cat 2
Execution directory inaccessible
prompt$

A mail is sent to me, the content of the mail is:

USER=hare: Command not found.
export: Permission denied.
LOGNAME=hare: Command not found.
export:Permission denied.
HOME=/home/hare: Command not found.
export: Permission denied.
PATH=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:.:
Command not found.
export: Permission denied.
VENDOR=intel: Command not found.
export: Permission denied.
OSTYPE=linux: Command not found.
export: Permission denied.
MACHTYPE=i386: Command not found.
export: Permission denied.

And follows with more enviroment variables


Expected Results:  A mail is send to me with the output of the ls
program in the present working directory

Additional info:

In the version of at shiped with redhat 9, a meesage appeared
before the at prompt: 
"warning: commands will be executed using (in order) a) $SHELL b)
login shell c) /bin/sh"

This message has disappeared in the present version

Comment 1 Jens Petersen 2004-03-01 01:28:54 UTC
Are you using tcsh or csh?

Comment 2 Sergio Pascual 2004-03-01 14:44:32 UTC
I'm using tcsh. I have checked that "at" works if your login shell is
bash (that is to say, the shell in /etc/passwd)

Comment 3 Jens Petersen 2004-03-02 01:26:37 UTC
Please update to the at in FC devel (aka rawhide).

*** This bug has been marked as a duplicate of 109587 ***

Comment 4 Red Hat Bugzilla 2006-02-21 19:01:42 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.


Note You need to log in before you can comment on or make changes to this bug.