How to create a scheduled event to execute a specific job? #12
-
I created a scheduled event in the Here is the schedule I added to the Job resources: ScheduledEvent:
Type: Schedule
Properties:
Schedule: cron(*/1 * * * ? *)
Enabled: True |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
YO! Sorry for the delayed response. Did you find an answer to your question? What you have above looks fine. Assuming you added that under the Maybe too I should change this to a yes or maybe? https://github.com/customink/lambdakiq#common-questions |
Beta Was this translation helpful? Give feedback.
-
Hi again @metaskills :) Maybe I can just change my Dockerfile so it runs this command: module App
class Handler
def self.process(event:, context:)
"Hello World!"
end
end
end What do you think? Is is good practice? Is there another way to run a job through Scheduled Events? |
Beta Was this translation helpful? Give feedback.
-
Cool, did you figure out your CMD could be something like this? CMD ["config/environment.App::Handler.process"] Or whatever method is inside your application? |
Beta Was this translation helpful? Give feedback.
YO! Sorry for the delayed response. Did you find an answer to your question? What you have above looks fine. Assuming you added that under the
Events:
property?Maybe too I should change this to a yes or maybe? https://github.com/customink/lambdakiq#common-questions