檢視任意timer job的schedule

2021-09-08 07:02:00 字數 2358 閱讀 1517

在文章強制執行moss的timer jobs中, 我們討論了如何修改timer job的schedule. 其中說起過, customized的timer job的schedule要修改, 必須經過object model. 那如果我只想看看這個timer job的schedule也不得不寫一段**才可以麼?

答案是: 不.

雖然stsadm.exe不包括對自定義timer job的schedule屬性的讀取, 你卻可以從資料庫中直接撈取這個資料. 非自定義的timer job也適用.

1. 你可以從管理中心的timer job definition中看到timer job的確切名字.

2. 開啟sql management studio, 新建乙個query.

3. 輸入如下的查詢語句:

select properties from 

objects

(nolock

) where properties like

4.返回結果如下:

<

object

type

version=12.0.0.0, culture=neutral, publickeytoken=71e9bce111e9429c">

<

fld

name

="m_originatingserver" type

="null" />

<

fld

name

="m_server" type

="null" />

<

fld

type

="microsoft.sharepoint.administration.spjoblocktype, microsoft.sharepoint, version=12.0.0.0,

culture=neutral, publickeytoken=71e9bce111e9429c" name

="m_locktype">none

fld>

<

sfld

type

="string" name

="m_recurrence">every 1 minutes between 0 and 59

sfld

>

<

sfld

type

="datetime" name

="m_onetimeoccurrence">0001-01-01t00:00:00

sfld

>

<

sfld

type

="string" name

sfld

>

<

sfld

type

="int32" name

="m_flags">0

sfld

>

<

fld

type

="system.collections.hashtable, mscorlib, version=2.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089"

name

="m_upgradedpersistedfields" />

<

fld

name

="m_properties" type

="null" />

<

sfld

type

="string" name

="m_lastupdateduser">domain\farmadmin

sfld

>

<

sfld

type

="string" name

="m_lastupdatedprocess">psconfigui

sfld

>

<

sfld

type

="string" name

="m_lastupdatedmachine">spsserver01

sfld

>

<

sfld

type

="datetime" name

="m_lastupdatedtime">2010-01-12t17:43:43

sfld

>

object

>

5. 注意其中的m_recurrence, 其中描述的就是timer job的schedule了---「every 1 minutes between 0 and 59」

Reveal真機檢視任意APP

前言 在xcode開發時,可以使用xcode自帶的 debug view hierarchy檢視view布局,如下圖 但是使用起來很麻煩,具體找某個view的時候,還有可能找不到,也不能動態的改變view的屬性。如下面,是在模擬器裡檢視我寫的高仿糯公尺的專案 注 reveal檢視模擬器裡的程式時,只...

計算任意整數的任意冪

最近複習資料結構,弱弱的寫了寫練習,這個是計算任意整數的任意次冪的演算法 color blue author kevin alps date 2010 09 12 function 計算任意整數的任意冪 color color green include include color color gr...

uchome中的 SC 系統全域性配置

sc 系統全域性配置 sblock 未知 sconfig 站點配置資訊 跟資料表uchome config掛鉤 scookie cookie資訊 sglobal 各類全域性資訊 sn 暱稱資訊 tpl 未知 sc 系統全域性配置 檢視源 列印幫助 01 sc array 02 03 dbhost l...