From: Pak R. <pak...@gm...> - 2014-05-23 02:09:04
|
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 |