FastPanel: scheduler and logs

In the examples 203.0.113.10 is your server address and my-site.com is your domain. The server address, panel login and password are in the VPS activation e-mail.

Scheduler (cron)

  1. Site card → "Scheduler" → "Add task".
  2. Schedule: a template or minute, hour, day fields.
  3. Command with the full path: /opt/php83/bin/php /var/www/<user>/data/www/my-site.com/cron.php.
  4. Click "Save".

WordPress: a task every 5 minutes /opt/php83/bin/php …/wp-cron.php and the line define('DISABLE_WP_CRON', true); in wp-config.php.

Site scheduler
Site scheduler

Logs

Site card → "Logs". Four tabs:

  • Frontend access — nginx requests.
  • Frontend error — nginx errors.
  • Backend access — Apache/PHP-FPM requests.
  • Backend error — PHP errors. Look here on a 500 error.

Log retention and rotation: site card → "Settings" → "Log settings".

Site logs
Site logs

AWStats

Visit statistics from the logs. If there is no "AWSTATS" tab in "Logs", ask support to install AWStats.