У меня есть запланированное задание для запуска на Heroku Scheduler . Я установил команду curl -s http://example.com/cron/abc123xyz456
.
Однако, несмотря на то, что планировщик пытается выполнить задачу, он терпит неудачу. Вот журнал.
Starting process with command `curl -s http://example.com/cron/abc123xyz456`
State changed from starting to up
State changed from up to complete
Process exited with status 2
curl: option -s http://example.com/cron/abc123xyz456: is unknown
curl: try 'curl --help' or 'curl --manual' for more information
Мой URL работает. Это команда curl, которая терпит неудачу? или что это?