• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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