Skip to content
Snippets Groups Projects
Commit c2a011c9 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Print job number when holding or stopping.

* backup-all: Print job number and total number of jobs when stopping
  or holding.
parent 6c719c08
No related branches found
No related tags found
No related merge requests found
2006-12-19 Per Cederqvist <ceder@sedesopim.lysator.liu.se>
Print job number when holding or stopping.
* backup-all: Print job number and total number of jobs when
stopping or holding.
Run distribute-tasks interactively and have the operator confirm
any changes. Better handling of changed origins.
* distribute-tasks (JobInfo.__init__): Initialize __active.
......
......@@ -73,13 +73,13 @@ do
if [ -f /nobackup/backup.lysator/etc/stop ]
then
echo Stop file found. Exiting. >&2
echo Stop file found. Exiting at $ctr/$total. >&2
exit 1
fi
if [ -f /nobackup/backup.lysator/etc/hold ]
then
echo Hold file found. Holding... >&2
echo Hold file found. Holding at $ctr/$total... >&2
while [ -f /nobackup/backup.lysator/etc/hold ]
do
sleep 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment