• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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