PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → Schedulled processes in WB19
Schedulled processes in WB19
Débuté par Jbistuer, 21 oct. 2014 17:26 - 2 réponses
Posté le 21 octobre 2014 - 17:26
Hi everybody,

I need to execute a scheduled process (batch process) every day at 6:00 but I've never done this type of process in WB.
Please can anybody help me how to do this?
I think that server need some configuration but I have no idea.

Thanks in advance.
Posté le 21 octobre 2014 - 18:39
As far as i know you can't do it in WB in a simple way.

Batch process and web are not the best friends.

If you have WD it's easy, just create one exe and run it using the OS schedule tasks.

For WB i never done it but the only way (and i'm not sure if it works) is calling your WB app using some external shedule (like the OS scheduled tasks) passing some parameter to bypass your pages and running only the batch code.

If you are going to try the WB way be carefull with the timeout definition.
Posté le 22 octobre 2014 - 05:24
If your web site is on Linux then use CRON Jobs to achieve this.