Jump to content

How to realize


kpoxo6op

Recommended Posts

Good afternoon everyone.

The task: a script authorizes on a certain site every few minutes and tracks if a certain string has changed in HTML-code. If it has changed, the script sends me a SMS or e-mail.

I have made authorization, checking, I can manage with e-mail sending.

Is it possible to make it work without launching in a browser? At this moment, I have this: I’m launching Apache, opening a browser, typing “localhost/…”, launching the script; it does its job and refreshes the page every 5 minutes.

But, I want he does its job on my local machine or on a hosting on background. I know word “cron” by hearsay. I know that e-mail is usually being cut on free hostings.

Please help me to implement the task. What SMS services do you know for that etc?

 

Link to comment
Share on other sites

Good afternoon everyone.

The task: a script authorizes on a certain site every few minutes and tracks if a certain string has changed in HTML-code. If it has changed, the script sends me a SMS or e-mail.

I have made authorization, checking, I can manage with e-mail sending.

Is it possible to make it work without launching in a browser? At this moment, I have this: I’m launching Apache, opening a browser, typing “localhost/…”, launching the script; it does its job and refreshes the page every 5 minutes.

But, I want he does its job on my local machine or on a hosting on background. I know word “cron” by hearsay. I know that e-mail is usually being cut on free hostings.

Please help me to implement the task. What SMS services do you know for that etc?

 

Writing cron jobs is relatively easy (for simple tasks). An afternoon of reading should put you in the right place.

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.