• 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.

Issue Getting daily cron error via email every day

Johnny9977

Basic Pleskian
I've a problem. Since some months I'm getting this error via email every night when Plesk runs the daily crons:

Code:
flock: failed to execute /opt/alt/python35/bin/python3: No such file or directory

I have no idea how I can fix this. Please help me! Thanks.
 
Just find related cron task with this strange path and remove this cron task.
 
But which task? I've no idea which one makes the problems.

You have a cron task defined somewhere on your system, outside of Plesk. So you need to check all your cron jobs of all users.

You can list cronjobs for a certain user with "crontab -l -u <user>", for example:
Code:
crontab -l -u user1
Code:
crontab -l
(for the root user)

Also, search for "python35" or "python3" in all files in all those locations:
/var/spool/cron/
/var/spool/cron/crontabs/
/etc/crontab
/etc/cron.d/
/etc/cron.daily/
/etc/cron.weekly/
/etc/cron.hourly/
/etc/cron.monthly/

And be sure to read this: Newbie: Intro to cron
 
I've a problem. Since some months I'm getting this error via email every night when Plesk runs the daily crons:

Code:
flock: failed to execute /opt/alt/python35/bin/python3: No such file or directory

I have no idea how I can fix this. Please help me! Thanks.
Hi Johnny,
after having a similar problem after removing Imunify360 from the server, I found this and used it to clean up the rubbish Plesk never does.

sudo apt-get purge imunify360*

Have a read for yourself and see if this helps you further

Regards Scotty
 
Back
Top