Red Gate forums :: View topic - running as scheduled task not adding new databases
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Doc 2
SQL Doc 2 forum

running as scheduled task not adding new databases

Search in SQL Doc 2 forum
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Jump to:  
Author Message
bn2hunt



Joined: 09 Mar 2009
Posts: 3

PostPosted: Thu Aug 20, 2009 3:53 pm    Post subject: running as scheduled task not adding new databases Reply with quote

I am running the following scheduled task in Vista 32 bit.

program : "C:\Program Files\Red Gate\SQL Doc 2"
arguments : \SQLDoc.exe /project:"C:\Users\dan-w\Documents\My Database Documentation\reef.sqldoc" /filetype:html-frames

If I don't go in and update the project to include all the databases it will not document any new databases that have been created. Is there a way to do this that will document every database on the server?

Thanks

Dan
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6649

PostPosted: Fri Aug 21, 2009 5:47 pm    Post subject: Reply with quote

Hi Dan,

At the moment, the command-line SQL Doc supports running projects created with the UI version of SQL Doc. This doesn't give you the opportunity to dynamically add databases to the list of databases that get documented.

We can look into this for a future version of SQL Doc.
Back to top
View user's profile Send private message
bn2hunt



Joined: 09 Mar 2009
Posts: 3

PostPosted: Fri Aug 21, 2009 9:00 pm    Post subject: Reply with quote

Is there a different way to pull the documentation for every database?
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6649

PostPosted: Mon Aug 24, 2009 1:48 pm    Post subject: Reply with quote

SQL Doc requires that the databases and servers are added in the User Interface. I haven't got any unsupported hack or any other way to do it automatically when a new database is added.
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies. All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group