Remote execution of SQL server agent job

  • Hi,

    I want to execute a SQL server agent job through a MS-DOS batch file remotely . Wonder how do I do it.

    Thanks and Regards,

    BB.

  • Run OSQL (or SQLCMD) from the batch file and have it execute an SQL statement which calls sp_start_job.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply