All Questions
Tagged with cron amazon-web-services
483
questions
0
votes
0
answers
8
views
AWS Lambda: cron-based trigger is not created along with funtion
I'm declaring my function as
dp-batch-expiration:
name: dp-batch-expiration
role: dpBatchExpiration
handler: c.c.o.l.e.BatchExpiration::handleRequest
events:
- schedule:
method: ...
0
votes
2
answers
39
views
An aws lambda is scheduled to run every minute, but it's occassionally being invoked in a few seconds
Here's the configuration on my serverless.yml for the lambda:
sendXXX:
handler: functions/sendXXX/index.handler
timeout: 55
provisionedConcurrency: 1
events:
- schedule: rate(1 ...
0
votes
1
answer
26
views
AWS Cloudwatch event rule cron expression
I have this cloudwatch cron event rule to invoke a lambda function every 3 months on same dates (14th to 19th). I want this expression to start running from the current month and 3 months from now ...
0
votes
0
answers
17
views
sam cron schedule for 7am -8pm CST
i want to ask what the correct cron schedule is to run a job between 7am-8pm CST, every 2min.
This is what i have currently. I am assuming the ScheduleExpressionTimezone setting makes sure the time ...
2
votes
2
answers
158
views
How do you set the timezone in the Ansible cron module?
I have an Ansible playbook that sets up cron jobs.
Because of the structure of the project, we don't use cron.conf files. We need to run a job twice a day at specific times for different EC2 instances ...
1
vote
0
answers
52
views
Scheduled Notifications: I want to send out email notifications at specific (dynamic) times in multiple timezones
I am working on a nest js based project, where we are developing a notification service. This notifications service would be responsible for sending out notifications to our users.
The use case is ...
0
votes
1
answer
38
views
Scheduled cron job not getting executed
I have a cron job scheduled as follows inside an EC2 instance operating on Amazon Linux OS:
51 7 * * * /usr/bin/python3 /home/ec2-user/set_access_token.py > /home/ec2-user/access_token_logs.txt
...
0
votes
1
answer
443
views
AWS Eventbridge rule to run twice a day Monday through Friday
I am trying to setup an Eventbridge rule through Terraform that would run twice a day (6AM and 8PM) Monday through Friday. However, I have not had luck doing that. Below is what I have tried so far:
...
0
votes
0
answers
61
views
AWS SSM patch policy fails with error "Invalid request provided: Shedule expression cron(0 8 1 * ? *) is not currently accepted
I am trying to set up a AWS SSM patch policy to run a SCAN on the 1st day of every month. The time is irrelevant, but for the sake of this expression I am using 8:00am UTC.
I am new to setting up ...
0
votes
0
answers
15
views
CronJob schedule for every month at the 30 day [duplicate]
I have a aws event beige rule CronJob schedule for every month at the 30 day, my question is it will run on February ?
or what cron expression will accomplish that the cron job run on the last day of ...
0
votes
0
answers
44
views
Cron Expression for AWS SSM Statemanger
For AWS SSM state manager association, I have a cron expression to fire at 23:00 hours on every 14 days as below.
cron(0 23 1/14 * ? *)
On saving the changes, it gives error as:
InvalidSchedule: ...
0
votes
0
answers
26
views
Getting callback from one API to other API with help of POST method in aws lambda
I'm writing api1 and need to get a callback from api2 to api1, I'll get a response from api2, this api2 response I'll use in api1 how could I do that in AWS lambda function..?
the thing here is I'm ...
0
votes
1
answer
54
views
CRON Failed Expression
I'm building a Cloudwatch Trigger to trigger every HOUR between the hours of 9-17 (9am-5pm) during the working week (MON-FRI)
Terraform throws this error at me:
ValidationException: Parameter ...
0
votes
1
answer
79
views
AWS equivalent to cron for updating an S3 site based on python script every few hours?
I'm new to using AWS so bear with me.
I have a site hosted on S3 - it's an updating weather tracker map: index.html, data folder, and a python script to scrape and download files into that data folder....
-1
votes
1
answer
120
views
How to schedule a job in AWS to trigger a Lambda at 7:00PM everyday?
How to schedule a job in AWS to trigger a Lambda at 7:00PM everyday?
My use-case is to send push notifications to specific users. I have users in India and US. After processing the DB to identify ...