AbanteCart Community
AbanteCart Development => Development Help Needed => Topic started by: yonghan on February 08, 2016, 06:35:34 AM
-
Hi admins, is it possible to execute a controller via static PHP file like opencart does? Opencart has Action and Front engine that enables admin run a controller via cron job file. I would like to add a cron job file for an extension and I'm stuck with the process. An is the task Manager just for database backup routine only? Thanks a lot.
-
Yes. You can have your special controllers (task-controllers) that can be run as task steps. Every step should describe into "task_steps" table of database and must be included into task that is in "tasks" table. Then put php-file file in cron and run task.php file inside your public_html folder. After start it looking for "scheduled" tasks in the table "tasks" and run all steps by sort order.
You can create sheduled backup in admin to view database data as example.
sorry for delay. we are working hard on new version release..
-
I need to find time to write dev manual for task process. It is coded in backup and in admin communication in 1.2.6
Possibly you can help us with the manual. Thank you.
-
http://docs.abantecart.com/pages/tools/logs/sheduled_tasks.html
-
Hi
@abolabo: Thanks for the reply. I will test the scheduled backup in admin in order to understand how the task works. That's ok on the delay. I know you guys are working on the new release.
@eCommerce Core: May i see the comments for the task process? I will try my best to help on the manual.
@Basara: Thanks for the docs link. I will read it