1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

cron for user not working

Discussion in 'Plesk 10.x for Linux Issues, Fixes, How-To' started by onlinesolutions, Apr 21, 2011.

  1. onlinesolutions

    onlinesolutions Basic Pleskian

    14
    85%
    Joined:
    Apr 21, 2011
    Messages:
    35
    Likes Received:
    0
    Hi there,

    I am having trouble to get crons for the user to work:

    /usr/bin/wget --no-check-certificate -O - -q https://domain.com/cron

    returns a "file not found" appearently it looks in the chroot of that user, not the root directory. How do I get around this?
     
  2. Mickael Salfati

    Mickael Salfati Regular Pleskian

    27
     
    Joined:
    Apr 6, 2009
    Messages:
    178
    Likes Received:
    1
  3. onlinesolutions

    onlinesolutions Basic Pleskian

    14
    85%
    Joined:
    Apr 21, 2011
    Messages:
    35
    Likes Received:
    0
    Thanks for the response

    I did find the other thread you are refering to. There is a bug howver in the manual.

    /usr/local/psa/admin/bin/server_pref -u -crontab-secure-shell /bin/shell is not correct it´s
    /usr/local/psa/bin/server_pref -u -crontab-secure-shell /bin/shell

    Just in case someone fram paralles is reading this.

    Thanks again!
     
  4. Mickael Salfati

    Mickael Salfati Regular Pleskian

    27
     
    Joined:
    Apr 6, 2009
    Messages:
    178
    Likes Received:
    1
    path to server_pref may be different according the operating system installed ;)
     
Loading...