export.js
/**
 * Start next export that is queued
 */
Start next export that is queued
Start next export that is queued
function nextExport() {
	if (exporting) return;
	currentExport = exportQueue.pop();
	if (!currentExport) {
		console.log("\nNo more exports queued\n");
		return;
	}
	else {
		exporting = true;
	}
	if (currentExport.url == lastUrl) {
		currentExport._system = lastSystem;
		startExport();
	}
	else connectNewInstance();
}
function nextExport ( ) { if ( exporting ) return ; currentExport = exportQueue . pop ( ) ; if ( ! currentExport ) { console . log ( "\nNo more exports queued\n" ) ; return ; } else { exporting = true ; } if ( currentExport . url == lastUrl ) { currentExport . _system = lastSystem ; startExport ( ) ; } else connectNewInstance ( ) ; }
Start next export that is queued
Start next export that is queued
//If next export is a new URL, ask for username and password. Else start export directly