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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
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 |