Jump to content

Crom Error


krimster

Recommended Posts

Hi everyone.

 

Read the topics, searched, and looked thru the manual, but still can't get my head around this.

 

I get this support email every time the cron runs:

 

Subject: Cron 0 9 * * * php -q /home/...../admin/cron.php

Priority: Medium

/bin/sh: 0: command not found

 

I thought I had everything set up correctly, but obviously not. Where do I start? I know the piping is correct, I set the forwarder fine, just can't seem to get this right.

 

Any ideas appreciated.

Link to comment
Share on other sites

  • 2 weeks later...

the numbers are not in the cron line...they are there by cut/paste. It just shows that way in advanced view of cron.

 

Cron 0 9 * * * /usr/bin/php -q /home/.../admin/cron.php > /dev/null

 

Put > /dev/null at end

 

You look to have this setup to send you messages when it has run the cron.php. Put > /dev/null at end and should be good.

 

/dev/null can be used to say "don't bother me"

Link to comment
Share on other sites

I thought that was a good error message, not a sucessfull cron message sorry.

 

so that is what is emailed when the cron is run properly?

 

I removed dev/null from my cron to see if it is running ok tonight myself too.

 

...thanks will look for it tonight.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated