sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #08586
Re: [Question #186796]: Send signal from user to root (time to RUN a script)
Question #186796 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/186796
Status: Answered => Solved
malto confirmed that the question is solved:
TA! For ur idea, now its look like this and I got one script:
------------cron------------
30 13,15,17 * * 1-5 /root/bind_unbind_mouse.sh
30 15 * * 6 /root/bind_unbind_mouse.sh
------------cron------------
bind_unbind_mouse.sh:
#!/bin/sh
DISPLAY=:0; export DISPLAY
xhost +local:
echo '3-3'| tee /sys/bus/usb/drivers/usb/unbind &&
su --login user /home/user/jobfinder.sh &&
wait
echo '3-3'| tee /sys/bus/usb/drivers/usb/bind
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.