You are here: Re: Scheduled AT Job reports 'The account is currently not available' « PHP Programming Language « IT news, forums, messages
Re: Scheduled AT Job reports 'The account is currently not available'

Posted by Martin Mandl - m2m tech support on 03/25/07 07:18

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация