On 22/12/16 18:57, Morrie Wyatt via luv-main wrote:
Or add "> /tmp/scap.debug 2>&1" to the end of your crontab line
to capture any outout and error messages.
I captured the error output and got:
> No protocol specified
> giblib error: Can't open X display. It *is* running, yeah?
This is what scap does:
#!/bin/sh
DISPLAY=:0 /usr/bin/scrot 'scap-%Y-%m-%d-%H:%M.jpg' -q 70 -e 'mv $f
/home/dz/shots/; chown dz.dz /home/dz/shots/$f' > /tmp/scap.debug 2>&1
Yes it's a screen capture script.
Am I setting DISPLAY properly?
Thanks
David
_______________________________________________
luv-main mailing list
luv-main@luv.asn.au
https://lists.luv.asn.au/cgi-bin/mailman/listinfo/luv-main