problems running cron jobs

hi.

i'm trying to setup a cron job to run a php script. for testing i made a job to run the script every 5 minutes, but it isn't running at all, ever.

i used the "crontab -e" command as root to edit my crontab and added this line (name of actual script edited out)

*/5 * * * * /usr/bin/script

i run this script manually all the time and it works perfectly.

am i missing something?

1 Reply

Debian, possibly? Are you using an "text" editor that doesn't automatically append a newline? Trying adding a comment line after your script line, e.g.

*/5 * * * * /usr/bin/script
#

Reply

Please enter an answer
Tips:

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] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct