quieArg.setValue(true);
action.setArgument(new MethodActionArgument[]
{nameArg, descArg, memArg, quieArg });
// run the task only once every week at Saturday midnight
WeeklyTaskScheduler scheduler = new WeeklyTaskScheduler();
scheduler.setSaturday(true);
scheduler.setHour(23);
scheduler.setMinute(59);
scheduler.setInterval(1);
ScheduledTaskSpec scheduleSpec = new ScheduledTaskSpec();
scheduleSpec.setName(taskName);
scheduleSpec.setDescription(
"Run a command at 23:59PM every other Saturday.");