• 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

Question Cronjob Plesk Apache Restart ?

OpenMedia

New Pleskian
Hello Guys ,
i have a little question for example i would like to restart the Apache 2 Webserver of plesk every 4 Days at 12:00 at night .
How i can make it ?

I have a :

- Ubuntu System 14.04 LTS
- Ican restart my webserver with /etc/init.d/apache2 restart

Crontab -e look actually bellow :

Code:
MAILTO=""
0       0       *       *       *       /opt/psa/admin/bin/php -dauto_prepend_file=sdk.php '/opt/psa/admin/plib/modules/wp-toolkit/scripts/instances-auto-update.php'
MAILTO=""
0       0       3       *       *       /opt/psa/admin/bin/php -dauto_prepend_file=sdk.php '/opt/psa/admin/plib/modules/letsencrypt/scripts/renew-certificates.php'
 
Back
Top