• 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

cron

  1. C

    Issue Specific Scheduled Task (cronjob) isn't working

    We are having a problem with a specific Scheduled Task in Plesk. It's strange, because it works for a while and then fails for a while. And it works perfectly when run manually. The task runs daily at 06:00, it's run by the subscription user (not root), it's a "Fetch an URL" task type and it...
  2. gennolo

    Issue Scheduled task stuck in "not_started" status

    Hi there, I have setup a scheduled task in Plesk to launch a PHP script twice a day : If I launch it directly the script from shell with /opt/plesk/php/7.4/bin/php /var/www/vhosts/domain.com/httpdocs/folder/shop.php it takes about 1 min to and runs ok. But.... When clicking "Run Now" my...
  3. J

    Issue Cron fails with HTML code as output

    Hi Everyone I'm having an issue on a Wordpress website. The cron job fails when the plugins Yoast and WP-rocket are activated together. Unfortunately the error output is not clear. I get the HTML code output, but cannot see any details. Does anyone know where I have to look to see all of it...
  4. J

    Resolved Cron mail not sent with output

    Hello I have a mail problem with cron tasks. In tasks I checked to send an email always. Well, I have cron tasks that produce output but cron does not send the email. I con not see any error in maillog nor cron logs. And I don't know if it's related with, but when I get my profile I see an...
  5. Talistech

    Resolved fetch_url command suddenly broken in chrooted environment

    Hi fellow Pleskians, I broke the fetch_url command in a chrooted environment for only 1 specific user. I'm getting the following mail sent by failed cron jobs: -: line 1: /opt/psa/admin/sbin/fetch_url: No such file or directory Running/fetching the urls via the web interface works well, no...
  6. S

    Question Can a client create a cron?

    Hello, I create a client on plesk for an user and this user needs to configure a cron. But I don´t see the option if I access with a clients keys (right menu, sheduled task) I see the option only if I access with root keys in plesk. Can a client create and configure crons?
  7. P

    Resolved How to Check Plesk Wordpress Cron Firing?

    Hello, I activated the cron tool (Take over wp-cron.php) from the WP Toolkit page on Plesk. Running the wp-cron.php file after the specified time has expired. I want to check if this request exists in the index.php file in the wp-content folder. So, when this file is executed by plesk, I want...
  8. P

    Resolved Working with Schedule a Task

    Hi, I don't use the plesk forum much. Apologies in advance if I'm not asking this in the right thread. I would like to ask a question about the use of "Plesk Schedule a Task". I've never used this before. But for now I think it might work. I would be glad if you guide me. I have a website...
  9. V

    Resolved PHP Warning: unlink(/usr/local/psa/var/modules/watchdog/report/security_2022-01-31): No such file or directory

    Dear Plesk team, On Jan 29th, I noticed the following cron error: PHP Warning: unlink(/usr/local/psa/var/modules/watchdog/report/security_2022-01-24): No such file or directory in /usr/local/psa/libexec/modules/watchdog/cp/clean-reports on line 11 Today, I received a similar cron error: PHP...
  10. X

    Issue flock: failed to execute /opt/alt/python38/bin/python3: No such file or directory

    I am getting the below email from my Pleask server and don't know what is it or how to get this fixed. The subject line of the email: Cron <root@server> /usr/bin/flock -n /var/run/shrinker.lock /opt/alt/python38/bin/python3 /opt/alt/modsec-sdbm-util/bin/shrinker.py > /dev/null the email...
  11. M

    Resolved Scheduled Tasks / CRONs - Wrong Timezone Compounding Issue?

    I have a very strange issue. After using the Plesk Migrator last year, I successfully re-launched on a new server. My only problem is my CRONs now run late. My system timezone is Australia/Brisbane, which is +10 GMT. I've updated it via SSH, the System Time option, I've set the time to be...
  12. carini

    Issue crontab does not end

    Cron jobs does not terminate on Plesk. Note: Server has been rebooted after uprgrade root@pleskXY:~# ps --forest -eo pid,ppid,user:10,tty,stat,pcpu,nlwp,time,pmem,rss:10,drs:10,size:10,lstart,cmd PID PPID USER TT STAT %CPU NLWP TIME %MEM RSS DRS SIZE...
  13. D

    Issue Plesk doesn't send cron notifications when mail service has never been activated

    Hi there, I have found what I believe to be a bug but as I do not have 5 helpful posts, I'm not able to use the relevant section. We used to receive email notifications when errors occured with our fetch-url-type cron jobs until I assume some Plesk update this year changed something and we...
  14. E

    Issue High Disk Throughput (vhostingmng-find)

    Hi All, I'm seeing high disk usage on my Plesk server every morning between 6:15am and about 9:30 - 9:45am, I'm trying to figure out what's causing it and how to reschedule and or deactivate it. Disk usage is around 100MiB/s until around 8:30am when it drops down to around 20-50MiB/s this...
  15. V

    Issue I have a long-time cron with URL type.

    I have a long-time cron with URL type. A script running ~270 seconds. Alert set - Every time. But alert not recivied.
  16. L

    Resolved Php script is working from the browser but not from Cron Job

    Hello.... I have this simple code to check if a php file is running if not it start it... error_reporting(E_ALL ^ E_NOTICE); $output = shell_exec('ps -C php -f'); if (strpos($output, "php launchListener.php")===false) { shell_exec('php launchListener.php > /dev/null &'); } It work...
  17. BrinsleyP

    Issue Error on /etc/cron.daily/plesk-rrd-cleaner:

    Hello All day i receive this email: /etc/cron.daily/plesk-rrd-cleaner: /usr/bin/find: ‘/usr/local/psa/var/health/data/localhost/plesk_cgroups-disk_nvme0n1\024’: No such file or directory /usr/bin/find: ‘/usr/local/psa/var/health/data/localhost/plesk_cgroups-disk_nvme0n1\024’: No such file or...
  18. Oldiesmann

    Resolved shrinker.py: no such file or directory

    I've been getting emails related to a cron job which is apparently supposed to call a Python script to shrink the ModSecurity SDBM database (at least I assume that's what it's for since I found a similar utility on GitHub). Originally I was getting an error saying that the path to the python...
  19. E

    Question How to recreate a docker image with a CRON job

    Hallo there, I'm using redis as a Object Cache for my WordPress installation and I'm very happy about the performance that I get out of it. Every month or so I get some warnings about redis and the connection get lost. I tried to debug the situation, but I think that the KISS solution is to...
  20. cipcip

    Question Nodejs cron job

    Hello, I am trying to create a cron job from a node-js application. I am adding my full path : /usr/bin/nodejs /var/www/vhosts/something/parser.js I get the following output: /usr/bin/nodejs: No such file or directory If I open my terminal and check the installation using: 1. which node...
Back
Top