cancel
Showing results for 
Search instead for 
Did you mean: 

To work on Scheduled Task Class

Former Member
0 Kudos

Hi Experts,

We have one business requirement to send the notifications if any changes done in Scheduled Tasks.

Is it possible to do scripting the Schedules tasks class , as I am not able to see Scheduled task class while creating a script and neither in the Extension Definition .

Any leads would be of great help!

Thanks in Advance:)

Regards,

Geetika

Accepted Solutions (0)

Answers (1)

Answers (1)

phani_poorna
Participant
0 Kudos

Hi Geetika,

Let me put my understanding on the above requirement. First thing is that you cannot invoke or call Schedule task class object as there is no IAPI exposed.

But with a different approach you can create another schedule job using explicitly script having a query which will fetch  details from the back end for recently modified scheduled tasks from the table "FCI_SYS_MANAGED_DAEMON". So that you can send notifications accordingly.

Run this schedule task daily or weekly or keep custom range as per the requirement. Just modify the column MODIFIED_AT (Eg: <%TODAY%>-MODIFIED_AT = 1 --> for last day <%TODAY%>-MODIFIED_AT = 7-->for a week. If you want for less than a day then use SYSDATE-MODIFIED_AT<=10 -->Minutes and so on.....)in the where clause of the query that you will be calling accordingly.

Hope this may help you to solve your requirement.

Regards

Phani Poorna