What is Cron and Crontab?
Cron is a daemon that runs scheduled commands. Crontab is the configuration file.
Each line in crontab has the format:
Practical Examples for SEO
Daily Indexing via IndexFast
If you use the IndexFast PHP script to send URLs via Google Indexing API:
The >> symbol appends the output to the log file. 2>&1 redirects errors there as well.
Updating Sitemap
Weekly SEO Audit
Pinging Google after an update
How to Configure Crontab
- Connect to the server via SSH
- Open the crontab editor:
crontab -e - Add lines with tasks (format described above)
- Save the file (in nano: Ctrl+O, Enter, Ctrl+X)
- Check that the task is added:
crontab -l
If you have no SSH access
Most hosting panels have a graphical interface for cron jobs.
Always specify absolute paths to executable files in cron.
Cron for Automatic Indexing with IndexFast
The IndexFast PHP script is perfect for cron. It:
- Reads URLs from sitemap.xml
- Sends them via Google Indexing API
- Logs the results of each request
- Stops when the daily quota (200 URLs) is reached
Want to do this without cron and SSH?
IndexFast PRO has a built-in scheduler — configure it directly in the dashboard.
🚀 Try for free →Monitoring Cron Jobs
By default, cron sends output to root email. To get emails, add:
Or view the system log: grep CRON /var/log/syslog