Open agstephens opened 2 years ago
#!/bin/bash # SLURM directives USE_WFLOGGER=1 if [ $USE_WFLOGGER ]; then log.... fi ..do something... if [ $USE_WFLOGGER ]; then log.... fi ..do something... if [ $USE_WFLOGGER ]; then log.... fi
Or maybe use:
$USE_WFLOGGER && log...
Wrap the timeout call inside the wflog script.
timeout
wflog
Or maybe use: