API Update cronjob script

thank you so far i can fully understand :smiley:

maybe someone other has a idea how i can put the header into the cronjob