Re: cronjob to execute a directaction page ?
Re: cronjob to execute a directaction page ?
- Subject: Re: cronjob to execute a directaction page ?
- From: Michael Engelhart <email@hidden>
- Date: Wed, 22 Sep 2004 20:36:59 -0500
Use the command line tool "curl'
curl --help
try typing as an example of calling a Direct Action:
curl
http://store.apple.com/1-800-MY-APPLE/WebObjects/AppleStore?family=iPod
I'm not sure why you db isn't getting updated though. That sounds
like it's something in your DirectAction
Mike
On Sep 22, 2004, at 8:32 PM, Goh Keng Boon wrote:
Hi, I got this directaction page where i use to syn my databases, I'm
planning to use a cronjob to schedule the thing, but
how can i "execute" that directaction page?
I tried a lame method where i have a java class to do url connect to
that directaction page, and execute the java class using
cronjob, i'm able to get back the proper http return, but the database
not updated at all.
Is there any proper way that i can do this?
Thanks.
Regards,
Keng Boon
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden