Im having a cron job set up on a gcloud compute instance. It runs as expected on my local, but on the gcloud instance it waits until the first run and then starts to execute in an endless loop without a time gap.
async function runScript() {
...
}
cron.schedule("* */30 * * * *", () => {
runScript();
});