Server side Script example

A cron job can make an API call to your script using cURL. Here’s an example from StackOverflow.