Skip to content

Instantly share code, notes, and snippets.

@nivleshc
Created August 23, 2019 10:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nivleshc/e23f504f49beeaaf306ef3e51470849a to your computer and use it in GitHub Desktop.
Save nivleshc/e23f504f49beeaaf306ef3e51470849a to your computer and use it in GitHub Desktop.
functions:
tpsFindVehiclePositionsCron:
handler: src.tps_vehiclepos.run
memorySize: 3008
timeout: 900
environment:
BUCKET: ${self:custom.s3.websiteBucket}
TRANSPORTPOSITION_TABLE: ${self:custom.dynamodb.transportPositionTableName}
events:
- schedule:
rate: cron(0/5 * * * ? *)
enabled: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment