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,24 @@
|
|||
package it.acxent.cc;
|
||||
|
||||
import it.acxent.common.CrontabInterface;
|
||||
import it.acxent.db.ApplParmFull;
|
||||
import it.acxent.db.DBAdapter;
|
||||
import it.acxent.db.ResParm;
|
||||
|
||||
public class CCCronImportDatamatic implements CrontabInterface {
|
||||
public ResParm crontabJob(ApplParmFull ap) {
|
||||
ResParm rp = new ResParm(true);
|
||||
StringBuffer msg = new StringBuffer("\n################# Inizio crontab Import DATAMATIC MAIL CC (" +
|
||||
DBAdapter.getNow().toString() + ")\n#################");
|
||||
long t0 = System.currentTimeMillis();
|
||||
CCImport ccImport = new CCImport();
|
||||
rp = ccImport.startImportDatamaticMail(ap, true);
|
||||
msg.append(rp.getMsg());
|
||||
msg.append("\n################# Fine crontab Import DATAMATIC MAIL CC (" + DBAdapter.getNow().toString() + ")\n#################");
|
||||
long tn = System.currentTimeMillis();
|
||||
long duration = (tn - t0) / 60000L;
|
||||
msg.append("Durata aggiornamento: " + duration + " minuti.\n");
|
||||
rp.setMsg(msg.toString());
|
||||
return rp;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue