Cron does not work at starting bash script automatically.
by Otakuch from LinuxQuestions.org on (#53FYV)
Hi, I have a bash script. There it is:Code:#!/bin/bash
xinput set-prop "XP-PEN G430S Pen Pen (0)" --type=float "Coordinate Transformation Matrix" 1.155756, 0.000000, 0.000000, 0.000000, 1.529, 0.000000, 0.000000, 0.000000, 1.000000I did Code:cron -e and added a line like that Code:@reboot ~/tablet.sh but it didn't work.


xinput set-prop "XP-PEN G430S Pen Pen (0)" --type=float "Coordinate Transformation Matrix" 1.155756, 0.000000, 0.000000, 0.000000, 1.529, 0.000000, 0.000000, 0.000000, 1.000000I did Code:cron -e and added a line like that Code:@reboot ~/tablet.sh but it didn't work.