Tiny Core Linux
Tiny Core Base => TCB Bugs => Topic started by: jls on January 31, 2011, 12:04:58 PM
-
I have cron in my boot options and doesn't work, if I start it from .X.d no prbl.
Maybe cause I want to autolaunch filetool which is an X app ?
-
What about filetool.sh?
-
before I was doing with filetool.sh, but I have a small pendrive so the backup was failing cause I'm used to fill the desktop and then free it before shut down or when the filetool window warns me, but not always I accept.
-
I doubt you can start X apps from cron. At least not as root, and not without DISPLAY set.
-
tc@hp:~$ crontab -l
*/30 * * * * su "$(cat /etc/sysconfig/tcuser)" -c "[ -z "$(pidof filetool)" ] && filetool" &
works but cron has to be started from ~/.X.d