source: queue/lib/build-gutenbach-queue @ 8b676cb

debianmacno-cupsweb
Last change on this file since 8b676cb was 8b676cb, checked in by Jessica B. Hamrick <jhamrick@…>, 14 years ago

Use /tmp instead of /var/run in queue

  • Property mode set to 100755
File size: 598 bytes
Line 
1#!/bin/bash
2
3if [ -e /tmp/gutenbach/current_queue_temp ]; then
4    rm /tmp/gutenbach/current_queue_temp
5fi
6
7while true; do
8    time=$(date)
9    echo "This is a work in progress!  Please send bugs to jhamrick." >> /tmp/gutenbach/current_queue_temp
10    echo "" >> /tmp/gutenbach/current_queue_temp
11    echo "As of $time:" >> /tmp/gutenbach/current_queue_temp
12    echo "" >> /tmp/gutenbach/current_queue_temp
13    /usr/lib/gutenbach/queue/queue >> /tmp/gutenbach/current_queue_temp
14    mv /tmp/gutenbach/current_queue_temp /tmp/gutenbach/current_queue
15    chmod ugoa+r /tmp/gutenbach/current_queue
16done
Note: See TracBrowser for help on using the repository browser.