HTML Logo by World Wide Web Consortium ( Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Login / Search

 [ Join | More ]
 Add topic 
#42515 (In Topic #9484)

Fan in training

im a nub at cron

im a nub at cron and tying to do it on linux this is what i have in /etc/cron.d/oc
* * * * * php /home/tom/www/
is this right and if it is why is cron not getting checked off
Back to the top


Have you tried running the command php /home/tom/www/ manually, to see what happens?

Be aware that CRON will get checked off if it has run once, so actually running a one-off command manually would do that. So remember once you've got the right command, plug it back into the CRON file.

It's a bit hard for me to comment on whether you've got it configured right. Different Linux distributions/versions handle CRON differently. I'm not sure if you need to restart the CRON service after making changes, or whether you need to run a 'rebuild' command, or anything like that.

Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top

Fan in training

well i figured out the problem i had to comment something out on my php.ini that was causing it to fail
thanks though you helped me figure out what was wrong

Last edit: by tombomb
Back to the top
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: