Solved

Task Schedule - Perform this task - Custom

  • 12 September 2021
  • 2 replies
  • 77 views

Userlevel 5
Badge +8

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 5
Badge +8

@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

Userlevel 6
Badge +10

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

Reply