简体   繁体   English

如何将SSRS订阅作业重命名为适当的名称

[英]how to rename SSRS subscription job to a propper name

I have created some SSRS subscription which is generating as UNIQUE ID(GUID) in msdb.dbo.sysjobs . 我创建了一些SSRS订阅,该订阅在msdb.dbo.sysjobs作为UNIQUE ID(GUID)生成。 But now i want to rename these IDs to a proper name which will easy for maintenance. 但是现在我想将这些ID重命名为一个易于维护的专有名称。

I tried to rename the job name, steps of job and it's working properly. 我试图重命名工作名称,工作步骤,并且工作正常。

Problem is that, again, this auto job has created (with GUID) for all the subscription. 问题是,该自动作业还是为所有订阅创建了(带有GUID)。

This is the reason, two jobs are firing for same report , one from propername job and one from GUID job. 这就是原因,两个作业针对同一报告触发,一个来自专有名称作业,另一个来自GUID作业。

Please see below 请看下面

在此处输入图片说明

You should not do this. 您不应该这样做。 Maintain all subscriptions through Report Manager, or SharePoint if you reports are hosted on SP. 通过报表管理器或SharePoint(如果报表托管在SP上)维护所有订阅。 Sure, you can change the name of the job, but the minute you change the subscription, the job will be replaced. 当然,您可以更改作业的名称,但是在更改订阅的那一刻,该作业将被替换。

If you want to be able to run subscriptions by hand, try make sure that the schedules vary enough from one to the other so you can identify them by when they run. 如果您希望能够手动运行订阅,请尝试确保时间表之间的差异足够大,以便可以在运行时对其进行标识。

Messing with these jobs will only cause you pain the likes of which you do not want to experience. 搞这些工作只会使您痛苦,而您不想经历这样的事情。 Just come to terms with it. 刚刚接受它。 Life is better that way. 这样生活会更好。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM