• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Cronjob doesn't run

JeffreyZ

Basic Pleskian
I set a cronjob to run daily at 2:10am. It shows that it ran in the cron log file. However, it doesn't actually run.

From the log:
Nov 20 02:10:01 my-hosting CROND[30311]: (root) CMD (/root/rsyncnet.sh)

Yet from a command line I can run it without a problem.

I set up the cron using SSH (as root) and then verified it in the Plesk panel. (attached image).

Seems it might be a security / permissions issue.
 

Attachments

  • cron-in-plesk.gif
    cron-in-plesk.gif
    23 KB · Views: 5
Turns out the cronjob ran but failed because a password was needed. I had accidentally overwritten the folder that contained SSH keys. Once that was fixed the rsync backup completted.
 
Back
Top