You can remember the meaning of 一旦 with this easy mnemonic:
I think we're safe, but just in case wake me up at one (一) so I can keep watch throughout the night until dawn (旦).
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.