Skip to main content
Version: 1.7.50

OpenAdmin System Crons

Cron jobs used by OpenPanel are configured in /etc/cron.d/openpanel file and should not be edited manually, as they will be overwritten during updates.

If you need to customize or add system cron jobs, use the root user's crontab.

docker-collect_stats --all​

Command opencli docker-collect_stats --all collects the docker stats for all users. THis data is visible by end-users From 'Resurce Usage' pag, and for Amdinistrators form Users > single user page.

Default schedule: hourly (0 * * * *)

Documentation: https://dev.openpanel.com/cli/docker.html#Collect-Stats

domains-stats​

Command opencli domains-stats parses (Caddy) access logs for all active users and their domains/.

websites-pagespeed --all​

Command opencli websites-pagespeed --all collects Google PageSpeed data for all websites on the server. This data is visible by end-users from Site Manager and WP Manager pages.

If user has configured pagespeed api keys, those will be used automatically for all their domains.

update​

Command opencli update checks for OpenPanel updates and performs them if autopatch or autoupdate are enabled.

  • Default schedule: daily at 00:15 (15 0 * * *)
  • Documentation: opencli update

server-ips​

Command opencli server-ips generates a fresh list of the server’s IP addresses.

  • Default schedule: monthly on the 12th at 00:00 (0 0 12 * *)
  • Documentation: This command is DEPRECATED.

ftp-users​

Command opencli ftp-users recreates the FTP users file that displays users in OpenAdmin interface.

email-server pflogsumm​

Command opencli email-server pflogsumm generates an HTML email summary report, visible in OpenAdmin > Emails > Summary Reports.

docker-images --all​

Command opencli docker-images --all checks all active user's docker images for updates using Cup 🥤 and displays the data to end-users on Containers > Image Updates page.

files-purge_trash​

Command opencli files-purge_trash purges FileManager Trash folders for all users, based on the autopurge_trash setting retention.

waf-update​

Command opencli waf-update updates the default OWASP CRS WAF rules. Logs can be viewed via: opencli waf-update log.

  • Default schedule: monthly on the 1st at 00:00 (0 0 1 * *)
  • Documentation: opencli waf-update

docker-backup​

Command opencli docker-backup executes a backup for all users’ Docker containers This is disabled by default, as each end-user can then schedule and manage their own backups from OpenPanel UI.

sentinel​

Command opencli sentinel runs the notification script for server monitoring.

sentinel --report​

Command opencli sentinel --report generates the daily usage report.

sentinel --startup​

Command opencli sentinel --startup sends notification after server reboot.

  • Command: opencli sentinel --startup
  • Default schedule: @reboot

Redis Temp Directory​

At reboot, this cron ensures the Redis temporary directory exists with proper permissions.

  • Command: mkdir -p /tmp/redis && chmod 777 /tmp/redis
  • Default schedule: @reboot