On Apr 22, 2004, at 4:33 PM, Brad Perkins wrote:

I'd like to use an Active4D page to run some routine processing (vs. doing it directly in 4D via a background process). Could the page be routinely called from a cron script. If anyone here has done this can you describe how it is done?

You could schedule a curl or wget command to make a request of the local host:


curl -qo - http://localhost/4dcgi/do-overnight-routine.a4d
wget -qO - http://localhost/4dcgi/do-overnight-routine.a4d


[Of course, you need to make sure you can't call the script from the outside world...]



- D


-- Alas! The onion you are eating is someone else's water lily. Lucky numbers 7, 14, 21, 22, 32, 45




Reply via email to