my script:
#!/bin/sh
PATH=$PATH:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
if pgrep -x "firefox" >/dev/null
then
return
else
firefox &
fi
my crontab:
* * * * * /home/jesuscrew77/sc.sh
It runs manually but doesn't start with crontab. what is wrong?
$DISPLAY