# Cronjob don't run

**URL:** <https://forum.kirupa.com/t/cronjob-dont-run/300835>\
**Category:** programming\
**Created:** [November 28, 2009, 4:40pm UTC](https://forum.kirupa.com/t/cronjob-dont-run/300835 "2009-11-28T16:40:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ruiganga](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/ruiganga/32/3679_2.png) [@ruiganga](https://forum.kirupa.com/u/ruiganga)\
**Post date:** [November 28, 2009, 4:40pm UTC](https://forum.kirupa.com/t/cronjob-dont-run/300835/1 "2009-11-28T16:40:55Z")

</div>

Hi

I didn’t know where to ask so i decide here.

I have Crontab in my server. I’ve schedulled a cronjob to run everyminute, everyhour, everyday of the week and every month. No i am not crazy 🙂 is just to test. My script is working and it runs a PHP email funcion that send me an email. Thats all. I just can’t make it working from the cronjob. What am I doing wrong?

Here is my cronjob:

- 
  - 
    - 
      - 
        - /var/www/vhosts/symbolbox.pt/httpdocs/test.php

to be sure that the path is correct I put inside my script this:

// shows the server document root  
echo $\_SERVER[‘DOCUMENT\_ROOT’];

Thanks for any tip or idea 🙂
