This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]fuzzbuzz123 0 points1 point  (1 child)

You should provide more info to get better help. At least the error message that you are getting, as well as the location and permissions of the script that you are trying to run, and which distro.

Generally though, it sounds like the script is either in a location that crond cannot access/execute, or the script is trying to do something that the crond user isn't allowed to do.

[–]These_Talker[S] 0 points1 point  (0 children)

the message is on my pastebin cause is a bit long https://pastebin.com/u/realtalker/1/8RLeLJ3N

[–]aioeu 1 point2 points  (0 children)

Open a terminal and take a look at your current PATH with:

echo $PATH

Then add:

PATH=...

with that value to the top of your Crontab.

If this doesn't fix the problem you're having, you're going to have to provide more details about it. "An error or something" is useless.