What does everyone think about cron jobs? When should you use them? When should you NOT use them? Is it better to avoid them when alternatives are possible? How can they be avoided?
When I started my site, animals were aged up with a cron job. I found this to cause many problems because it was a large amount of data to update and, when it failed, this was a huge deal for players. I recoded the site to handle aging with dates. That eliminated the problems we used to have with aging.
I'm now wondering what else would be better off without cron jobs? I have to recode our shops (for other reasons) and wondered if I should recode it in a way that doesn't use crons. Though, it's not such a big deal when the shop cron job gets skipped.
Has anyone else had experiences with dealing with alternatives to cron jobs? What things should and should you not use crons for?
When I started my site, animals were aged up with a cron job. I found this to cause many problems because it was a large amount of data to update and, when it failed, this was a huge deal for players. I recoded the site to handle aging with dates. That eliminated the problems we used to have with aging.
I'm now wondering what else would be better off without cron jobs? I have to recode our shops (for other reasons) and wondered if I should recode it in a way that doesn't use crons. Though, it's not such a big deal when the shop cron job gets skipped.
Has anyone else had experiences with dealing with alternatives to cron jobs? What things should and should you not use crons for?
Last edited by a moderator: