I've read the elastic beanstalk Periodic Tasks manual here, and after looking at this code in the cron.yaml file:
version: 1
cron:
- name: "backup-job" # required - unique across all entries in this file
url: "/backup" # required - does not need to be unique
schedule: "0 */12 * * *" # required - does not need to be unique
Im not sure how to execute the following command:
php /var/www/html/myfolder/task.php
should the url be just "/var/www/html/myfolder/task.php" or "php /var/www/html/myfolder/task.php"?