Closed zoellner closed 4 years ago
Thanks for reporting. This should be fixed in #40 which is published in 0.4.1
FYI npm still shows 0.4.0 as the most recent version. Any plan on when 0.4.1 will be available?
I think I mistakenly mentioned the wrong version number on my previous comment. It was fixed in 0.4.0. However, 0.4.1 which includes another fix was just published.
Awesome. Thanks.
I'm running the scheduler with
sls schedule --stage local
but get an errorError: Command failed: serverless invoke local --function SchedulerFunction --data {"schedule":"every-minute"}
and before that some errors about it not being able to populate a few variables. However, those variables shouldn't matter in the local stage. When I manually runserverless invoke local --function SchedulerFunction --data {"schedule":"every-minute"}
I get the same error, however if I runserverless invoke local --stage local --function SchedulerFunction --data {"schedule":"every-minute"}
i.e. with my custom stage passed through, the function runs fine.