www in docker support
This commit is contained in:
parent
539a848e95
commit
c227fce036
2145 changed files with 399596 additions and 58 deletions
|
|
@ -0,0 +1,29 @@
|
|||
package it.acxent.cc;
|
||||
|
||||
import it.acxent.common.CrontabInterface;
|
||||
import it.acxent.db.ApplParmFull;
|
||||
import it.acxent.db.DBAdapter;
|
||||
import it.acxent.db.ResParm;
|
||||
import it.acxent.util.Timer;
|
||||
|
||||
public class CCCronWwwAutomator implements CrontabInterface {
|
||||
public ResParm crontabJob(ApplParmFull ap) {
|
||||
ResParm rp = new ResParm(true);
|
||||
Timer timer = new Timer();
|
||||
timer.start();
|
||||
System.out.println("CCCronWwwAutomator start...");
|
||||
StringBuffer msg = new StringBuffer("\n################# Inizio crontab WWW AUTOMATOR CC (" +
|
||||
DBAdapter.getNow().toString() + ")\n#################");
|
||||
WwwAutomator bean = new WwwAutomator(ap);
|
||||
WwwAutomatorCR CR = new WwwAutomatorCR();
|
||||
CR.setFlgAbilita(1L);
|
||||
rp = bean.startAutomator(ap, CR, true);
|
||||
msg.append(rp.getMsg());
|
||||
msg.append("\n################# Fine crontab WWW AUTOMATOR CC (" + DBAdapter.getNow().toString() + ")\n#################");
|
||||
timer.stop();
|
||||
msg.append("Durata aggiornamento: " + timer.getDurataHourMin() + "\n");
|
||||
rp.setMsg(msg.toString());
|
||||
System.out.println(msg.toString());
|
||||
return rp;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue