@Override
	public void onDisable(){
		if ((dbcon != null) && (dbcon.IsConnected)) {
			dbcon.CloseDatabase();
		}

		// cancel all tasks we created
        getServer().getScheduler().cancelTasks(this);
		
		Log(pdfFile.getName() + " has been disabled!");
	}