this page talks about using cURL to submit a form post in a cron job:
setting-up-a-cron-job-to-update-you-website-using-curl
the reason that using the before page load trigger does not work in the update is that the form post does not exist on page load, the form post does not exist untill the form is posted.