Y
Y
Yuri Tatarkin2015-04-21 19:54:24
CMS
Yuri Tatarkin, 2015-04-21 19:54:24

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

3 answer(s)
M
Maxim, 2015-04-21
@maxloyko

And what prevents you from creating a cron job and running the script whenever you want

A
Alexander N++, 2015-04-21
@sanchezzzhak

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

Then we edit the cron file, restart the cron /etc/init.d/crond restart
Transferring a site is not a common thing, and the file will help you remember what was configured and when.

M
Marat, 2015-04-22
@7kmarat

maybe this

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question