Hi all,
I need to have a scheduled job shut down a web community, do a database backup & restore, and then restart it. Something like this:
The
The URL command works fine in a browser, but I need to make this an overnight job that can run automatically. I've tried EXECUTE ("COUNT field incorrect or syntax error"
, and xp_cmdshell ("'http:' is not recognized as an internal or external command, operable program or batch file. 'ACTION' is not recognized as an internal...etc."
.
Can anyone tell me how to have SQL Server 2000 execute a URL?
Thanks to all,
Calen
I need to have a scheduled job shut down a web community, do a database backup & restore, and then restart it. Something like this:
Code:
COPY DATABASE...
[URL unfurl="true"]http://mydev/devmgr/CommStart.html?COMMUNITY=MyComm&ACTION=Stop[/URL]
RESTORE DATABASE...
[URL unfurl="true"]http://mydev/devmgr/CommStart.html?COMMUNITY=MyComm&ACTION=Start[/URL]
The
The URL command works fine in a browser, but I need to make this an overnight job that can run automatically. I've tried EXECUTE ("COUNT field incorrect or syntax error"
Can anyone tell me how to have SQL Server 2000 execute a URL?
Thanks to all,
Calen