diff options
| author | cassio <cassiopc@gmail.com> | 2015-08-30 15:31:13 +0000 |
|---|---|---|
| committer | cassio <cassiopc@gmail.com> | 2015-08-30 15:31:13 +0000 |
| commit | e71b036c9ecab82d8d8e4bbcfe3657fd671fca75 (patch) | |
| tree | c9b773b828d092b6e1c67f09307cf88453c5ba0b /tools/boca-submit-run-cron | |
| parent | 198dcd42b9a44a838020c05999dfb263ae1628e8 (diff) | |
| download | boca-e71b036c9ecab82d8d8e4bbcfe3657fd671fca75.tar.gz boca-e71b036c9ecab82d8d8e4bbcfe3657fd671fca75.zip | |
small fixes
Diffstat (limited to 'tools/boca-submit-run-cron')
| -rwxr-xr-x | tools/boca-submit-run-cron | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/boca-submit-run-cron b/tools/boca-submit-run-cron index ace21d0..83f5b41 100755 --- a/tools/boca-submit-run-cron +++ b/tools/boca-submit-run-cron @@ -6,12 +6,15 @@ if [ "`id -u`" != "0" ]; then fi if [ -d /root/submissions ]; then + touch /root/submissions/placeholder.bocarun runaux=`which boca-submit-run-aux` if [ "$runaux" == "" ]; then runaux=/var/www/boca/tools/boca-submit-run-aux fi for i in `ls /root/submissions/*.bocarun`; do - $runaux "$i" + if [ "$i" != "/root/submissions/placeholder.bocarun" ]; then + $runaux "$i" + fi done fi |