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

Reply via email to