Zaphod,
Can you explain exactly what you're doing a little better? I don't
understand why you're not just processing the reports as they are requested.
Also, what does it mean to "process" it? Print it? Generate some sort of
file (pdf, word, excel)?
- Matt
----- Original Message -----
From: "Nick McClure" <[EMAIL PROTECTED]>
To: "CF-Community" <[email protected]>
Sent: Tuesday, April 11, 2006 12:41 PM
Subject: RE: Options for scheduled task
> Create a Windows Service.
>
>> -----Original Message-----
>> From: Zaphod Beeblebrox [mailto:[EMAIL PROTECTED]
>> Sent: Tuesday, April 11, 2006 11:59 AM
>> To: CF-Community
>> Subject: Options for scheduled task
>>
>> I've got a website that allows people to run custom crystal reports,
>> custom
>> being that they can filter data. When the run the report, it dumps the
>> filter data into a que and then forwards them onto a 'que view'. I've
>> currently got a scheduled task that runs once a minute that will sweep
>> the
>> que and process the first report it sees that isn't processed yet.
>>
>> The problem is you can only schedule a task to run every minute. Some of
>> these reports will run in 10 seconds, some will run for 2 minutes. I've
>> already got my template set up so that it's single threaded. I'd set it
>> up
>> to process multiple reports in a single run, but I figure that has the
>> 100%
>> chance of timing out if enough reports are queued at one time.
>>
>> schtasks.exe only supports 1 minute increments also.
>>
>> am I overlooking an option here?
>>
>>
>> --
>> America spells competition, join us in our blind ambition
>> get yourself a brand new motor car.
>> And someday soon we'll stop to ponder
>> what on earth's this spell we're under
>> we made the grade and still we wonder
>> Who the hell we are!, "The Grand Illusion", Styx
>>
>>
>>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:5:203671
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54