IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 30469 for trunk/ippTasks


Ignore:
Timestamp:
Feb 2, 2011, 5:03:06 PM (15 years ago)
Author:
bills
Message:

Add a task to periodically gather the postage stamp server status and save
it into a file in the pstamp/web directory rather than getting the status directly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/pstamp.pro

    r30317 r30469  
    905905    end
    906906end
     907
     908task pstamp.save.status
     909    host        local
     910
     911    periods     -poll $LOADPOLL
     912    periods     -exec 45
     913    periods     -timeout 20
     914    npending    1
     915
     916    task.exec
     917        stdout NULL
     918        stderr $LOGSUBDIR/pstamp.save.status.log
     919
     920        $run = pstamp_save_server_status.pl --update-link
     921        command $run
     922    end
     923
     924    task.exit $EXIT_SUCCESS
     925        # echo nothing to do
     926    end
     927
     928    task.exit   default
     929        showcommand failure
     930    end
     931
     932    task.exit   crash
     933        showcommand crash
     934    end
     935
     936    task.exit   timeout
     937        showcommand timeout
     938    end
     939end
Note: See TracChangeset for help on using the changeset viewer.