Not positive, but I would say that the timeout still exists because they are query related. You would have to capture the error code and deal with it differently in your cron code.
Chuck Lockwood ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LockData Technologies, Inc. 309 Main Avenue, Hawley, Pa 18428 570-226-7340 ~ Fax: 570-226-7341 [EMAIL PROTECTED] ~ www.lockdata.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -----Original Message----- From: Fogelson, Steve [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 06, 2004 11:14 AM To: '[EMAIL PROTECTED]' Subject: RE: Witango-Talk: Cron Job Chuck, Thanks for the response. If the cron is server side, does that mean that there is not the timeout issue as with browser related requests? Thanks Steve -----Original Message----- From: Chuck Lockwood [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 06, 2004 9:56 AM To: [EMAIL PROTECTED] Subject: RE: Witango-Talk: Cron Job I would guess that since a cron is server side code that a redirect would definitely not work, there it no client to redirect to anywhere. Chuck Lockwood ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LockData Technologies, Inc. 309 Main Avenue, Hawley, Pa 18428 570-226-7340 ~ Fax: 570-226-7341 [EMAIL PROTECTED] ~ www.lockdata.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -----Original Message----- From: Fogelson, Steve [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 06, 2004 9:36 AM To: Witango User Group (E-mail) Subject: Witango-Talk: Cron Job Windows 2003 Web Edition, R:Tango 5.0 062, Oterro 2.6 I wrote a taf that I want performed as a cron job. The taf reads an email table and sends email to each record by writing each email to the Pickup folder in my SMTP service. I have the taf redirect after 3 minutes or a 1,000 records so the taf does not time out. It runs fine when I run it from a browser. It processes all the records. When I run it as a cron job, it processes 1,000 records and then stops. It doesn't appear to redirect back into the program. I am using the following code to redirect: <@purgeresults> <@assign request$httpHeader value="HTTP/1.0 302 Moved<@CRLF>Location: <@var <@var user$U_Site>$AppRootUrl><@var catsite$CGI><@var catsite$RootPath>Cron/NewsLetterEmail.taf?CurrentCtr=<@var request$CurrentCtr>&HTMLCounter=<@var request$HTMLCounter>&TextCounter=<@var request$TextCounter>&JobStartSeconds=<@var request$JobStartSeconds><@crlf><@setcookies><@userreferencecookie><@crlf><@c rlf>"> Are redirects not allowed in cron jobs or am I doing something else wrong? Thanks Steve Fogelson Internet Commerce Solutions ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
