# Use cron job to click the button

**URL:** <https://forum.infinityfree.com/t/use-cron-job-to-click-the-button/56371>\
**Category:** Hosting Support\
**Created:** [January 1, 2022, 4:03am UTC](https://forum.infinityfree.com/t/use-cron-job-to-click-the-button/56371 "2022-01-01T04:03:40Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Admin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/admin/32/36437_2.png) [@Admin](https://forum.infinityfree.com/u/Admin)\
**Post date:** [January 1, 2022, 9:18am UTC](https://forum.infinityfree.com/t/use-cron-job-to-click-the-button/56371/6 "2022-01-01T09:18:06Z")

</div>

The cron job scheduling is weird. I’ve tried to explain it in this article:

> [@Understanding Cron Job schedules](https://forum.infinityfree.com/t/understanding-cron-job-schedules/50643):
>
> The control panel offers a tool called Cron Jobs to periodically call a specified URL on your site. This is useful to execute scheduled tasks or perform background operations. The control panel offers a “Minute and/or Hours” selector to choose when the cron job is executed. However, this configuration system is confusing and tends to behave in unexpected ways. Recommended Schedules Calling a URL once per hour If you want like to execute a URL once per hour on the whole hour, the schedule to do…

As far as you action goes, it depends. The cron job calls a specified URL at the specified schedule. This can be any URL on your website. It’s a GET request, not POST, and doesn’t interact with your website HTML code. So it can’t “click the button”, but it should be able to trigger the same actions as clicking the button would do.

---

_[View the full topic](https://forum.infinityfree.com/t/use-cron-job-to-click-the-button/56371)._
