Cron Jobs allow you to automate repetitive tasks like running scripts at set intervals.
Steps to Set Up a Cron Job:
- Log into cPanel via Aviumshost.
- Under Advanced, click on Cron Jobs.
- Select a predefined schedule or enter a custom one (e.g.,
0 2 * * *
for 2am daily). - Enter the command to run, such as:
/usr/bin/php /home/username/public_html/script.php
- Click Add New Cron Job.
Check output via email by setting a notification address at the top of the page.