Solved

Task Schedule - Perform this task - Custom

  • 12 September 2021
  • 2 replies
  • 261 views

Userlevel 6
Badge +14

Hello IFS Community,

 

I wonder if somebody in the community could share how to use the CUSTOM option.

Example of Expression to use? 

 

 

Thanks,

JL

icon

Best answer by Tharindu Illangasinghe 13 September 2021, 15:57

View original

2 replies

Userlevel 6
Badge +13

Hi @ZTC ZTC JGOTA ,

 

CUSTOM  = The task is executed depending on the given custom expression. The custom expression must return a date (ex: SYSDATE + 1/3600). Oracle Scheduler syntax is allowed (i.e. FREQ=WEEKLY; INTERVAL=2; BYDAY=FRI;).

 

For an example;

Run hourly for the first three days of every month.

FREQ=HOURLY; BYMONTHDAY=1,2,3;

 

More details and examples can be found in the Oracle documentation under "Using the Scheduler Calendaring Syntax". 

https://docs.oracle.com/cd/E11882_01/server.112/e25494/scheduse.htm#i1023132

Userlevel 6
Badge +14

@Tharindu Illangasinghe 

 

How could I make the task to run business day (Mon - Fri) twice a day  10 am and 5:30 pm ?

 

Thanks,

JL

Reply