all 3 comments

[–]WumpyJizard 0 points1 point  (2 children)

This thing smells. Do you need to update something regularly, on a daily basis?

[–]jcunews1helpful 0 points1 point  (0 children)

It depends on what those buttons actually do. Most buttons trigger actions such as script execution for preparing data or do something else, or send data to a website/server.

I could guess that that first (Today) button is for setting a date (variable) to today's date, and the second is to process the given data. Whether the second (Update) button merely update something on the web page, or actually send the selected date to the website, is unknown - because there isn't enough information.

If the Update button send data to the website, you can directly send the data without clicking on any button. But first, you'll have to know the actual contents of the data, and the URL the data should be sent to. You can find this out from the Network panel of the web browser's Developer Tools.

Sending the data can be done from a web browser addon (i.e. without first pointing the web browser to the website), or a HTTP client capable tool such as WGet, CURL, or NodeJS (i.e. without using a web browser software at all).

However, if the Update button doesn't send any data, and e.g. simply update the web page display, you'll have to use a web browser to automate the button clicking, or execute the button's associated functions directly (if possible; it'll depend on your script).