Answer the question
In order to leave comments, you need to log in
Cron for a website, who to spy on?
Good afternoon.
There is a desire to make a module for working with tasks for one of the CMS. There is nothing ready for this CMS, and every time you need to periodically perform some tasks, you have to make bicycles.
The question is, in which CMS or framework is the best / good implementation of such functionality? I want to study someone else's experience before stuffing my bumps.
Thank you.
Answer the question
In order to leave comments, you need to log in
And what prevents you from creating a cron job and running the script whenever you want
Use the framework (yii2 laravel4-5) then create console controllers write your implementation
Outside the public folder, go to readme-cron.md for yourself and write
# Услуги, списать баланс раз в день в 24:00 по мск
0 0 * * * /usr/bin/php -f /home/user/data/www/setename.biz/yii service/index
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question