Jump to content

i there a way to do this?


mjohn87

Recommended Posts

I would like to run a script on my site. I want it to run 24/7 on the server without it having anything to do with ppl lookin on my site. Basically I'm trying to write a script that checks something on a different site and once that thing is there, I want it to e-mail me. Is there anyway this can be done? using php or anything else? thank you in advance.
Link to comment
Share on other sites

thanks for the response

i am trying to use cron buy it wont work

im using it off my schools netwroks btw, they give each student 125 mb space

heres what i did,i put this in the cron file:
* * * * * /usr/local/bin/php /afs/cad.njit.edu/u/j/m/jmm83/public_html/mail.php
when i use crontab cron in ssh its suppose to run every minute but it doesnt, it never runs not even once

when i just put this command in ssh: /usr/local/bin/php /afs/cad.njit.edu/u/j/m/jmm83/public_html/mail.php
it does run it and i do get the e-mail
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

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.   Restore formatting

  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.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.