【发布时间】:2015-12-28 01:54:31
【问题描述】:
我已经阅读了弹性豆茎定期任务手册here, 在 cron.yaml 文件中查看此代码后:
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
我不确定如何执行以下命令:
php /var/www/html/myfolder/task.php
网址应该只是“/var/www/html/myfolder/task.php”还是“php /var/www/html/myfolder/task.php”?
【问题讨论】:
标签: php amazon-ec2 crontab amazon-elastic-beanstalk cron-task