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/.
- Default schedule: daily at 02:30 (
30 2 * * *) - Documentation: hitechcloudcli domains-stats
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.
- Default schedule: daily at 04:00 (
0 4 * * *) - Documentation: hitechcloudcli websites-pagespeed
update​
Command hitechcloudcli update checks for HiTechCloud updates and performs them if autopatch or autoupdate are enabled.
- Default schedule: daily at 00:15 (
15 0 * * *) - Documentation: hitechcloudcli update
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.
- Default schedule: every 8 hours (
0 */8 * * *) - Documentation: hitechcloudcli ftp-users
email-server pflogsumm​
Command hitechcloudcli email-server pflogsumm generates an HTML email summary report, visible in HiTechAdmin > Emails > Summary Reports.
- Default schedule: daily at 01:45 (
45 1 * * *) - Documentation: hitechcloudcli email-server pflogsumm
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.
- Default schedule: daily at 03:45 (
45 3 * * *) - Documentation: hitechcloudcli docker-images
files-purge_trash​
Command hitechcloudcli files-purge_trash purges FileManager Trash folders for all users, based on the autopurge_trash setting retention.
- Default schedule: daily at 04:45 (
45 4 * * *) - Documentation: hitechcloudcli files-purge_trash
waf-update​
Command hitechcloudcli waf-update updates the default OWASP CRS WAF rules. Logs can be viewed via: hitechcloudcli waf-update log.
- Default schedule: monthly on the 1st at 00:00 (
0 0 1 * *) - Documentation: hitechcloudcli waf-update
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.
- Default schedule:
59 23 31 2 * - Documentation: Configuring HiTechCloud Backups: Admin-configured
sentinel​
Command hitechcloudcli sentinel runs the notification script for server monitoring.
- Default schedule: every 5 minutes (
*/5 * * * *) - Documentation: hitechcloudcli sentinel
sentinel --report​
Command hitechcloudcli sentinel --report generates the daily usage report.
- Default schedule: daily at 11:45 (
45 11 * * *) - Documentation: hitechcloudcli sentinel 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