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

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Chr1s

    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

  • Martin Mandl - m2m tech support

    #2
    Re: Scheduled AT Job reports 'The account is currently not available'

    On Mar 24, 2:59 pm, "Chr1s" <news.ch...@gma il.comwrote:
    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

    ------------------------------------------------
    m2m server software gmbh


    Comment

    Working...