Scheduled AT Job reports 'The account is currently not available'

This is a discussion on Scheduled AT Job reports 'The account is currently not available' within the PHP Language forums, part of the PHP Programming Forums category; I am scheduling an AT task from a php file using sudo and user 'joe' that reports correctly when using ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-24-2007
Chr1s
 
Posts: n/a
Default Scheduled AT Job reports 'The account is currently not available'

I am scheduling an AT task from a php file using sudo and user 'joe'
that reports correctly when using atq from the command line.

However, although the script being executed by the job runs ok from
the command line I get a mail message saying 'The account is currently
not available' when the job is scheduled by php?

It's not an 'apache' user problem as far as I can see as the task is
getting scheduled as 'joe'.

Any help would be appreciated.

Chris

Reply With Quote
  #2 (permalink)  
Old 03-25-2007
Martin Mandl - m2m tech support
 
Posts: n/a
Default Re: Scheduled AT Job reports 'The account is currently not available'

On Mar 24, 2:59 pm, "Chr1s" <news.ch...@gmail.com> wrote:
> I am scheduling an AT task from a php file using sudo and user 'joe'
> that reports correctly when using atq from the command line.
>
> However, although the script being executed by the job runs ok from
> the command line I get a mail message saying 'The account is currently
> not available' when the job is scheduled by php?
>
> It's not an 'apache' user problem as far as I can see as the task is
> getting scheduled as 'joe'.
>
> Any help would be appreciated.
>
> Chris


Dear Chris,

does Joe have an account assigned to his account?
Did you run the commands you execute from your php file manually? E.g.
su - www; sudo -u at 730 mar 30 -f command-file
What does atq say?

Good luck
Martin


------------------------------------------------
online accounting on bash bases
Online Einnahmen-Ausgaben-Rechnung
http://www.ea-geier.at
------------------------------------------------
m2m server software gmbh
http://www.m2m.at

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 04:31 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0