PDA

View Full Version : Scheduled aspx Page 'hit' then 2nd scheduled task - anyone done it?


gstring570
07-04-2005, 05:31 AM
i love the scheduled 'page hit' idea but after that, i need another task to run. however, the second taskmay not bea 'page hit' ...

basically, the first scheduled taskcreates a database 'extract' using a stored procedure (in SQL2000 of course). this text file will have some associated files (images mainly) and i am hoping to assemble them all together into a single folder for ease of access but this may not be possible.

* what i then need is for the server to FTP these files to another server for synchronization with another sql database (via an import function).*

my question is: "does anyone know how to perform the second scheduled task via an aspx page"? the windows scheduler could do it i guess but do we have access to that? and if so, how? i think i prefer the idea of using a second aspx page to do the task. any thoughts?

cheers,

g

bruce
07-05-2005, 06:29 AM
1) you do not have access to the windows scheduler.

2) i don't think the schedule task will provide what you require.

I think the best thing you can do is to set up a windows scheduled event on your own computer to handle this process.

Bruce

DiscountASP.NET
www.DiscountASP.NET (http://www.DiscountASP.NET)

gstring570
07-05-2005, 07:16 AM
what a shame ... this is the first 'unable to do it' wall i've hit since signing-up! the account is great otherwise http://community.discountasp.net/emoticons/smile.gif

i'm sure the first task will run ok so i guess i will try and find an FTP client running from a server here that can login to my account at DiscountASP.NET and download the info ... then upload it again to another server! bit tiresome but it would work unless anyone else has any bright ideas?

thanks for the response,

g