From: Marcos G. T. <ad...@gm...> - 2014-05-23 04:05:07
|
I guess you need to forget (in part) the webERP job scheme, because it was done with interactive task in mind. Perhaps the best way to do this labor is to create some scripts (in PHP, of course) those could be runned out of line, in some hours of the nigth using CLI. for example see: http://www.php.net/manual/en/features.commandline.usage.php Saludos desde Mérida, Yuc! 2014-05-22 21:08 GMT-05:00 Pak Ricard <pak...@gm...>: > Hi all: > > I'm facing some performance issues with my installation, mainly because of > some batch processes using a lot of resources. Every morning we launch a > custom script to optimize stock in every location, and do around 150 > business checks and send emails to everyone concerned in the team, so the > first one opening webERP every morning launches the script automatically > (as the DB optimization fucntion does.) > > Used to work great but now it's taking too much time and shared resources > at the hosting space. I would like to split it in several tasks launched by > cron job, but problem is I have no idea how to write a webERP script that > is able to be launched by cron. > > Does someone have a sample that could be used as a template? > > Many thanks! > > Regards, > Ricard > > > ------------------------------------------------------------------------------ > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE > Instantly run your Selenium tests across 300+ browser/OS combos. > Get unparalleled scalability from the best Selenium testing platform > available > Simple to use. Nothing to install. Get started now for free." > http://p.sf.net/sfu/SauceLabs > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > -- Ing Marcos R Garcia Trejo (52) 9991-513412 Laboratorio de Ingeniería y Procesos Costeros (LIPC) Unidad Académica Sisal, UNAM MGa...@ii... Tel 52 988 931 1000 |