Skip to main content
Version: 1.X.X

HiTechAdmin System Crons

Cron jobs used by HiTechCloud are configured in /etc/cron.d/hitechcloud 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 hitechcloudcli 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.hitechcloud.org/cli/docker.html#Collect-Stats

domains-stats​

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

websites-pagespeed --all​

Command hitechcloudcli 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 hitechcloudcli update checks for HiTechCloud updates and performs them if autopatch or autoupdate are enabled.

server-ips​

Command hitechcloudcli 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 hitechcloudcli ftp-users recreates the FTP users file that displays users in HiTechAdmin interface.

email-server pflogsumm​

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

docker-images --all​

Command hitechcloudcli 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 hitechcloudcli files-purge_trash purges FileManager Trash folders for all users, based on the autopurge_trash setting retention.

waf-update​

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

docker-backup​

Command hitechcloudcli 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 HiTechCloud UI.

sentinel​

Command hitechcloudcli sentinel runs the notification script for server monitoring.

sentinel --report​

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

sentinel --startup​

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

  • Command: hitechcloudcli 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