Running CRON jobs on Amazon ec2 -


another answer posted here said running cron jobs on ec2 (linux) same on 'nix server. i'm confused: how 1 manage cron jobs there multiple instances of application server? have thought there's kind of shared cron... reddis cron jobs.

what 1 make sure 1 instance running cron jobs?

i use 'rcron' this. helps managing cron jobs in cluster of instances. instance execute job if it's active. relies on heartbeat or keepalived check whether other instances active or not. it's important go through principles section of rcron, doesn't lot of things might necessary. (like failure of job on 1 instance doesn't automatically start on other instance.)

and yes, it's same group of linux machines , not ec2 instances.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -