Cron not working

I am newer to Linux and cannot get a simple cron script to work. I keep getting an error:

cron: can't open or create /var/run/ Permission denied

I am running webadmin and when I create the cron and run, I get another error:

/bin/sh: /backups/[myfilename].sh: Permission denied

Can anyone point me in the correct direction? I have been looking for a solution for days now. Thanks

2 Replies

Google returned many hits for:

cron not working


Can i suggest you read the error messages you're getting?

So, I'm guessing I'm pointing you in the direction of permissions


Please enter an answer

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct