/adei/trunk

To get this branch, use:
bzr branch http://darksoft.org/webbzr/adei/trunk

« back to all changes in this revision

Viewing changes to scripts/cron/adei_manager.cron.sh

  • Committer: Suren A. Chilingaryan
  • Date: 2018-03-23 22:36:55 UTC
  • Revision ID: csa@suren.me-20180323223655-ioglwyojj98ip3d1
Minor fix in adei_manager script

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
(
59
59
    cd "$ADEI_PATH"
60
60
    
61
 
    for name in $(find tmp/adminscripts -mindepth 1 -maxdepth 1); do
62
 
        echo "$date Processing administrative script $(basename $name)" 
63
 
        php "$name" && rm "$name"
64
 
    done
 
61
    if [ -d "tmp/adminscripts" ]; then
 
62
        for name in $(find tmp/adminscripts -mindepth 1 -maxdepth 1); do
 
63
            echo "$date Processing administrative script $(basename $name)" 
 
64
            php "$name" && rm "$name"
 
65
        done
 
66
    fi
65
67
 
66
68
    if [ -n "$ADEI_SETUP" -o -n "$ADEI_ENABLED_SETUPS" ]; then
67
69
        if [ "$ADEI_SETUP" = "all" ]; then