//scheule-xquery-cron-job
if( isCalledAs( SCHEDULE_XQUERY_CRON_JOB ) ) {
if( getArgumentCount() >= 5 ) {
unschedule = args[4].effectiveBooleanValue();
}
job = new UserXQueryJob( jobName, resource, user );
} else if( isCalledAs( SCHEDULE_XQUERY_PERIODIC_JOB ) ) {
if( getArgumentCount() >= 7 ) {
unschedule = args[6].effectiveBooleanValue();
}
periodicValue = ( ( IntegerValue )args[1].itemAt( 0 ) ).getLong();
job = new UserXQueryJob( jobName, resource, user );
isCron = false;
}
//schedule-java-cron-job
else if( isCalledAs( SCHEDULE_JAVA_CRON_JOB ) || isCalledAs( SCHEDULE_JAVA_PERIODIC_JOB ) ) {