• Resolved verminaard

    (@verminaard)


    Hello.
    Get this error when trying to use Plesk Scheduled Task instead of WP-Cron:

    /usr/local/psa/bin/chrootsh: /dev/null2: Permission denied

    I don’t have any access to the file system of server. I just have my Plesk admin panel access.

    Can you help me with this issue, please? Can I replace the command (wget -q -O – “https://www.yourdomain.com/wp-cron.php?doing_wp_cron=date +\%s” > /dev/null2>&1) with something, which doesn’t need this access. Something like curl for example?
    Thank you very much.

    • This topic was modified 6 years, 1 month ago by verminaard.
Viewing 1 replies (of 1 total)
  • Thread Starter verminaard

    (@verminaard)

    Sorry, guys.
    It was my problem with copy/pasting of the command from your FAQ.

    > /dev/null2>&1

    is needed to be replaced with

    > /dev/null 2>&1

    Now it looks like it works. Can you, please, fix this in your FAQ?))
    Thank you very much and sorry for disturbing you.

Viewing 1 replies (of 1 total)
  • The topic ‘/usr/local/psa/bin/chrootsh: /dev/null2: Permission denied’ is closed to new replies.