Applicable to:
- Plesk for Linux
Question
How to rerun daily maintenance tasks separately for Plesk on Linux?
Answer
- Login server via SSH;
- List all available tasks:
# /usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/DailyMaintainance/script.php -l
CheckForUpdates
InstallUpdates
InstallSystemPackageUpdates
UpdateKeys
PleskUsage
Sitebuilder
MailUsage
ExecuteStatistics
ProcessAutoreports (daily and weekly)
OptimizeStatistics
AnalyseDomainStatistics
AnalyseClientStatistics
ExecuteSpamtrain
LoadCustomizations
UpdateApsCache
UpdateApsApplications
ExecuteGlCleaner
StoreProtectedConfigs
FileSharing
UpgradePanel
ExecuteWebStatistics
UpdateModSecurityRuleSet (daily and weekly)
AutoresponderEndDate
UpdatePhpCurlCertificates
ExecuteQuotacheck (weekly)
BackupRestoreStats
UpgradeExtensions
ComposerSelfUpdate - Select required one and run the command specifying task as argument. For example to execute only Web Statistics run:
# /usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/DailyMaintainance/script.php -f ExecuteWebStatistics
Additional information
How to rerun daily maintenance tasks separately for Plesk on Windows?
Comments
2 comments
Hello! I am running many servers with Plesk Obsidian Versión 18.0.25 but I can not see "DailyMaintainance/script.php" on cron jobs list.
Who trigger this script? When? Can I modify his schedule?
Thankn you! Agustin
Hi Agustin Romanos,
This is not modifiable from Plesk interface as it may cause problems on all those things that are managed from the maintenance task (statistics not calculated, license not updated, automatic updates not working, etc...).
Still, this is regularly called from Cron service (normally located at /etc/cron.daily/50plesk-daily)
Please sign in to leave a comment.