At 14:41 04/22/2004, you wrote:
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...]
David (and Michael),
Thanks! I love simple answers.
-- Brad