Re: cronjob to execute a directaction page ?
Re: cronjob to execute a directaction page ?
- Subject: Re: cronjob to execute a directaction page ?
- From: Goh Keng Boon <email@hidden>
- Date: Thu, 23 Sep 2004 09:55:28 +0800
Thank Mike, I'm able to use curl to access that DirectAction page, i
got the proper return, but still, DB is not updated.
If I run that URL in web browser, the DB is updated, anyone faced such
problem before?
Thanks.
KB
On 23-Sep-04, at 9:36 AM, Michael Engelhart wrote:
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