Synology usage series 28 – Mirroring wordpress from webhost to synology box – the automatic way

Part 4 – Triggering wp_cron

Part 4 is optional.

Since ezpz plugin rely on wordpress internal cron system, that mean the cron job will be fired only there is visitor browsing the page. For low traffic site such as private blog there may not be enough visit to trigger the automated database backup job.

To fix this, we create another cron job in our NAS to browse the frontpage of wordpress every hour.

# vi /etc/crontab

1 * * * * root /opt/bin/wget --timeout=10 --tries=1 -qO - > /dev/null

Leave a Reply

Your email address will not be published. Required fields are marked *