truckerDave
Well-Known Member
My solution on page 2.
I have a directory
I can run the script while in the directory with
That said, I can't seem to get it to work using cron. I enter
It does absolutely nothing. What I have done to remedy this .... Set permissions for all files involved to 777 .... Chowned the same files dave:dave
How do I get this thing working. I know it's something staring me right in the kisser. But I'm not seeing it.
Thanks for your time.
EDIT: I also ran
I have a directory
/home/dave/swap/bgimages/
where I have many background images I have been pillaging from the internet. In that directory I created a bash script to change my background. Believe it or not, It wasn't too bad for someone of my limited Linux experience to figure out.I can run the script while in the directory with
bash background.sh
and from the lowest directory with bash /home/dave/swap/bgimages/background.sh
It works as intended with either one.That said, I can't seem to get it to work using cron. I enter
crontab -e
and enter:*/5 * * * * /home/dave/swap/bgimages/background.sh
(should change every 5 minutes, right?)It does absolutely nothing. What I have done to remedy this .... Set permissions for all files involved to 777 .... Chowned the same files dave:dave
How do I get this thing working. I know it's something staring me right in the kisser. But I'm not seeing it.
Thanks for your time.
EDIT: I also ran
sudo crontab -u dave -l
to verify it was under my account.
Last edited: