You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/bin/sh |
|
|
|
if [ "$1" = "--onetime" ]; then |
|
onetime="yes" |
|
shift |
|
fi |
|
echo "$@" > /tmp/$$.sh |
|
if [ -n "$onetime" ]; then |
|
echo '[ -e "$job" ] && rm "$job"' >> /tmp/$$.sh |
|
fi |
|
mv /tmp/$$.sh /initqueue/ |
|
>> /initqueue/work
|
|
|