Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3530

Re: Wait Event on SLEEP

$
0
0

Use below code in RedwoodScript job type, Thread.sleep is in Millisec.

 

 

 

package com.redwood.scheduler.custom;

import java.math.BigDecimal;

import java.util.Iterator;

import com.redwood.scheduler.api.date.DateTimeZone;

import com.redwood.scheduler.api.model.*;

import com.redwood.scheduler.api.model.enumeration.*;

public class name

extends nameStub

{

public void execute()

throws Exception

 

// ... Lots of code ...

 

{try

{

   Thread.sleep(60000);

}

catch (InterruptedException e)

{

    Thread.currentThread().interrupt();

}

}

}

 

 

Regards,

Abhishek


Viewing all articles
Browse latest Browse all 3530

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>