I'm trying to setup a Cloudwatch Scheduled Event and my cron expression seems to be invalid, though I can't figure out why.
My cron expression is:
functions:
governorCrone:
handler: handler.governorCrone
events:
- schedule: cron(1 * * * * *)
i want to run my cron in every min but i am getting the following error every time whenever i deploy my function on serverless
An error occurred: GovernorCroneEventsRuleSchedule1 - Parameter ScheduleExpression is not valid. (Service: AmazonCloudWatchEvents; Status Code: 400; Error Code: ValidationException; Request ID: fd4fb03c-0b2e-11e9-bc87-9d783a29b264).
please tell me if i did somthing wrong