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

    Resolved Cron <root@server> test -x /usr/sbin/anacron

    Since a few days I get every day a mail from my server: Cron <root@server> test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ) /etc/cron.daily/logrotate: mysqladmin: connect to server at 'localhost' failed error: 'Access denied for user 'root'@'localhost' (using...
  2. Dirk

    Resolved Scheduled Tasks: cron job to run php with lower priority

    Hi, how can I create a cron job in Onyx to run a php-script with a low task priority?
  3. iGraphics

    Resolved How to remove zip files in specific folder in my hosting by cron job?

    How to remove zip files in specific folder in my hosting by cron job? I want to remove zip files in specific folder every day at 5:00PM
  4. D

    Issue cron is queuing tasks and accumulating them on hold

    I have setup a cron to run every minute, seeing the cron log, is running, so that is ok. * * * * * /opt/plesk/php/7.1/bin/php -f '/var/www/vhosts/domain***/adm/test.php' The cron I have setup is a simple php file that logs the time this file is executed...
  5. B

    Question Problem with root cron...

    Hello everyone, Recently I had a problem with the cron processes of a domain. This I managed to solve, but run as root the following command: crontab my_domain_com Instead of: crontab -u my_com_domain -e and then save. Thinking that the first command was the same. What has happened is that...
  6. M

    Issue Unknown Cron Job Sending Undeliverable Mail Every 1 Minute???

    Hi, I m totally new here. I have roundcube installed in plesk and after installing an ssl certificate then adding it to the webmail account, I noticed in one of the mail user accounts that there were a ton of undelivered emails. This is what they all say: "This is the mail system at host...
  7. Oliver Marugg

    Issue Error with KAV 17.8.11 upgrade

    Hi Just upgrade to 17.8.11 upd5 on ubuntu 16.04. I receive following mail from cron, now new once an hour: From: Cron Daemon <root@SERVER> To: root@SERVER Subject: Cron <root@SERVER> /opt/kav/sdk8l3/bin/kav8update Date: Tue, 17 Apr 2018 16:22:17 +0200 (CEST) Loading engine... Current product...
  8. L

    Issue Schedule Task won't do anything

    Hello, I'm trying to schedule a task on Plesk and here is the problem: /usr/bin/php /var/www/vhosts/mydomain.com/httpdocs/app/console crontask --env=prod Have i tried to run this in CLI ? -> yes! and it works But when i'm scheduling a task and try to execute it, i've got this message: Task...
  9. Q

    Question How to use "Run a PHP script" on the plesk schedule tasks and write php script for that.

    Hello, I'm working on developing a photo sharing application where it has to create a jpg file from the mp4 file that the user uploaded to the database. The below is the command to create jpg file from mp4 file in the particular directory by using ffmpeg. # for i in `find...
  10. cipcip

    Issue Cron jobs not starting automatically

    Hi guys, I have an issue on my Plesk Onyx that the crons are not starting automatically. If I run them manually, then is fine, no issue found. I am also not getting any errors on my e-mail. Below is a screenshot of how I run them: I assume that the path is not correct? 'sources' is the...
  11. FAB

    Question Scheduled Task - Fetch PHP page under htaccess protection

    Hi, Quick question,: I'm trying to set a cron task (Scheduled Task in Plesk) to fetch a PHP page in a folder protected by .htaccess/.htpasswd. Is there a way to do that? Thanks! FAB
  12. I

    Question cron will not run working Bash script

    I have a small bash script that uses curl to post the Plesk Apache logs to a logging service and then moves the files to an 'uploaded' directory (so as to not reload them on a second run). The scripts works fine from an ssh CLI, but fails under cron and so I'm clearly missing a permission for...
  13. teha

    Question How do insert line breaks from a PHP script into the Plesk cron job logs?

    Hello, I am running the recent version of Plesk (Plesk is updating automatically). I have a PHP script on my server which is run by a Plesk cron job every 6 hours and I set that I would like to receive the (error) log from the cron job by e-mail. When the cron job is running, the PHP script...
  14. sweetp

    Resolved Cron and mysqlcheck

    I want to set a Cron job to optimise all my databases, so i tried running this command from a Scheduled Task: mysqlcheck -uadmin -p`cat /etc/psa/.psa.shadow` --auto-repair --optimize --verbose --all-databases But it always throws an error: Task "mysqlcheck -uadmin -p`cat /etc/psa/.psa.shadow`...
  15. V

    Question mysqldump not found

    Hi! I want create backup db from cron task, but plesk return error. When i use mysqldump mydb > mydb.sql - -: mysqldump: command not found /usr/bin/mysqldump mydb > mydb.sql - -: /usr/bin/mysqldump: No such file or directory plesk db dump mydb > mydb.sql - -: plesk: command not found how i can...
  16. Mike2017

    Resolved Reloading iptables on reboot in Plesk 17.0.17

    Hello, I recently migrated my VPS from Plesk 12 to Plesk Onyx (I am now running Plesk Onyx v17.0.17 update #21 on Ubuntu 14.04.5 LTS). I have a number of custom rules in iptables and, previously, I just had iptables-persistent installed - it was auto loading on reboot iptables stored in...
  17. Dumitru

    Resolved restarting PHP-FPM 7.0.16 from cron

    We need to user same restart function like your button form plesk for restart php-ftp7, we need to use it cron * * * * * /usr/sbin/service php5-fpm restart - this is workign for php-fpm 5 * * * * * /usr/sbin/service php7-fpm restart - bat for 7 this is not working It is other setting for...
  18. L

    Issue Scheduled tasks option absent in Plesk

    Hi, For my website I need to set a Cron command in Plesk. On the Plesk website and numerous others the advice is to click the 'Scheduled Tasks' option in 'Websites & Domains'. However, this option is not present in the 'Websites & Domains' tab. This is what I see as options: Another suggested...
  19. Cordal

    Resolved Errors when running cron when installing Let's Encrypt certificate

    I recently installed a Let's Encrypt certificate in my domain, using the corresponding extension in my Plesk 12.5, from that moment when the cron programmed run the following error: HTTP request sent, awaiting response... 301 Moved Permanently Location: https://www.mydomail.es/myfunction...
  20. TomP

    Resolved PhpList cron not working after move to new server

    I'm looking for a phpList user that runs crons from Plesk. I was using phpList on my old server for many years, and used Plest cron to send the mail queue. After I just moved to my new server, phpList sends just fine, but only if I do the manual process queue. I set up the cron just as I did...
Back
Top