(since EVL 2.1)
With no arguments it will wait to successfully finish all previous parts of an EVL job (in an EVS file) or in an EVL workflow (in an EWS file), i.e. act similar to standard Bash ‘wait’ command.
Fail (and cancel further job/workflow processing) if at least one component failed. Continue processing EVS/EWS file if all previous components/parts successfully finished.
EVS is EVL job definition file, for details see evl-evs(5). EWS is EVL workflow definition file, for details see evl-ews(5).
EVL workflow only:
<script> is specified, further processing will
<time> for all previously fired parts (i.e. ‘Run’ commands) and fail if at least
one of them fails.
<time> is specified, then wait forever.
<time> can be secified in seconds, minutes, hours or days, so suffix ‘s’, ‘m’,
‘h’ or ‘d’ need to be specified to the number. If no unit is specified, seconds are
<script> is specified, it will wait for successful
run of the job of the current project and of the current
<odate> can be specified by the options.
Wait ( <job>.evl | <workflow>.ewf | <script>.sh ) [-p|--project=<project>] [-o|--odate=<odate> | -y|--yesterday] [-t|--time=<time>] Wait [-m|--myself [-o|--odate=<odate> | -y|--yesterday]] [-t|--time=<time>] evl wait ( --help | --usage | --version )
print this help and exit
print short usage information and exit
print version and exit
- Run EVL job in two steps:
Read file.json INPUT evd/file.evd --text-input Map INPUT MAPPED evd/file.evd evd/stage.evd evm/file.evm Write MAPPED stage.parquet evd/stage.evd Wait Run "impala \"refresh table stage;\"" End
- Wait for myself (i.e. the same workflow yesterday) to finish:
or the inother words:
Wait --myself --yesterday
or shortly also:
- Wait for all jobs to finish, but at most 1 hour, then fail:
Run file2stage.bills.evl update.bills.evl Run file2stage.invoices.evl Wait 1h
- Wait (forever) for successful run of the job ‘file2stage_example.evl’, then continue:
- Wait (at most 1 day) for the job ‘export_job.evl’ before continue:
Wait 1d export_job.evl
- Wait (at most 120 minutes) for the job ‘sftp_billing.evl’ of the different project
‘billing’ (of current ODATE):
Wait 120m sftp_billing.evl billing
- Wait (at most 300 seconds) for the job ‘sftp_billing.evl’ of the different project
‘billing’ of the 20200930}:
Wait 300 sftp_billing.evl billing 20200930
- Wait (at most 6 hours) for previous run of current ‘EWF’ job. (Variable ‘ODATE_MINUS1’
has to be set by you.):
# Wait for previous ODATE Wait 6h $EWF_JOB_NAME.ewf $ODATE_MINUS1