The scheduler only starts but doesn't stop instances
See original GitHub issueI used the latest template to create the EC2 Scheduler with stackname: EC2Scheduler
and no matter how I set up my office-time, the scheduler only starts the instances (if I manually stop them to test) but never stops them.
I changed the endtime to different time, lambda execution to every 1 minute, 2 minutes, etc.
get-item
{
"Item": {
"begintime": {
"S": "08:00"
},
"description": {
"S": "Office hours"
},
"endtime": {
"S": "18:00"
},
"weekdays": {
"SS": [
"mon-fri"
]
},
"name": {
"S": "office-hours"
},
"type": {
"S": "period"
}
}
}
{
"Item": {
"use_metrics": {
"BOOL": false
},
"override_status": {
"S": "running"
},
"timezone": {
"S": "America/New_York"
},
"description": {
"S": "Instances running"
},
"periods": {
"SS": [
"office-hours"
]
},
"name": {
"S": "running"
},
"type": {
"S": "schedule"
}
}
}
Issue Analytics
- State:
- Created 4 years ago
- Comments:5
Top Results From Across the Web
The scheduler only starts but doesn't stop instances · Issue #129
I used the latest template to create the EC2 Scheduler with stackname: EC2Scheduler and no matter how I set up my office-time, the...
Read more >Task scheduler start a task and shows running, but nothing ...
my schedule job is as simple as open a notepad, and the task scheduler shows my job is running with 0x41301 result.
Read more >Why is Windows Task Scheduler trying to launch multiple ...
We managed to stop Windows Task Scheduler starting up multiple processes by ticking the option "If the task fails, restart ...
Read more >Windows Task Scheduler doesn't run last instance - Super User
On the Settings tab at the bottom, it says: If the task is already running, the following rule applies: Stop the existing instance....
Read more >How do I use Instance Scheduler with CloudFormation to ...
The instances also start at 9 AM and stop at 12 PM on Saturday. Note: Tag keys and values are case sensitive. The...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
overwrites what’s in the periods. Instances tagged with this schedule will always be running.
I confirm that removing the
override_status
works for me. My instances now can be stopped.