aboutsummaryrefslogtreecommitdiffstats
path: root/worker_examples/echo_sleep.sh
blob: 7f76c0ea9432a1a487433e03b507e9ddc2f20957 (plain)
1
2
3
4
5
#!/bin/sh

line="$(cat)"
echo "Printing line '$line' and sleeping $1 seconds"
sleep $1