• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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