how execute/visit a site using the cron daemon?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers how execute/visit a site using the cron daemon?
# 1  
Old 06-26-2008
how execute/visit a site using the cron daemon?

hi,
i need to execute/visit a site to check if the site is up or not i have a server that have cron shedule that can execute a php file now how can i execute/visite a site using the same way as i execute a file?
thanks a lot for your help Smilie
# 2  
Old 06-27-2008
Yes, sure, why not Smilie You will have to write some PHP code (it's up to you and your imagination), save the script, run it in cron, and then check the result, for example, you can specify some patterns to expect, store them in a log file and then compare.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Visit site get data and put in file for use.

I need to go to "vpnbook"vpnbook.com on the web (can't put in name yet)and open "Openvpn" tab On that page I need to get the username:vpnbook and the next line password:???????? I need to put those two in line one and two of a file "pwfile" When I have those I need to open openVPN with the... (1 Reply)
Discussion started by: tytower
1 Replies

2. Solaris

Execute the ntpdate command only when NTP daemon is stopped?

Hi, Could somebody please explain me. why is it necessary to execute the "ntpdate" command only when ntp daemon is stopped , and also the probabale solution to reduce the high offset value. Thanks !! Laxxi (4 Replies)
Discussion started by: Laxxi
4 Replies

3. Fedora

cron daemon name

Hi All, Please tell me which daemon is responsible for start and stop the crontab. Please tell me the location where it resides in Linux platform. Sindu. (2 Replies)
Discussion started by: indira_s
2 Replies

4. UNIX for Dummies Questions & Answers

Cron Daemon and alert

I am not system admin on Unix or Linux server. I am Oracle DBA to work on these operating systems. On our Oracle Linux 5.8 box, it always pump up the alert message like this: Cron Daemon /bin/sh: /opt/oracle/product/middleware/agent11g/ccr/bin/emCCR: No such file or directory Please help... (2 Replies)
Discussion started by: duke0001
2 Replies

5. UNIX and Linux Applications

execute shell script using CGI for html site

hi there im currently in the process of creating a website for use basically within our org. im using a os x machine and installed MAMP - which includes Apache, mysql... the site will be used by techs to primarily install pkgs files onto os x devices. i would like to have buttons or hyperlinks... (2 Replies)
Discussion started by: sheshe
2 Replies

6. Shell Programming and Scripting

cron does not execute script properly

I have a simple script that checks for certain printers and records them to a file. When I run the script manually at the command prompt, it works perfect, but when I run the script via cron, nothing happens. No errors reported, and no records are written out. I'm using Solaris 10. Below is the... (4 Replies)
Discussion started by: lmatlebyane
4 Replies

7. Solaris

Mail is not sent by cron daemon

Hello All, In SunOS 10, I have some cron jobs and it is running fine but the cron job outputs are not mailing to any acount of the system. In other OS, we have option like MAILTO variable or /dev/null to disable but in Sun I have no idea how it is disabled by default and how do I... (13 Replies)
Discussion started by: Tlogine
13 Replies

8. SCO

Stoping & starting the cron daemon

Hi We are running SCO ver 5. Recently the cron daemon stopped running on its own. How do I find out why? How do I restart/stop it? I typed cron but it didn't work. Will rebooting it do the trick or can I manually start and stop the cron daemon? Please help. Thanks & Regards. (0 Replies)
Discussion started by: othman
0 Replies

9. UNIX for Dummies Questions & Answers

Cron daemon

I ve a problem with the cron daemon. i ve a process that sends many mail, and full my /var FS i don t want to write a script that would clean its mails i want to know if it would be possible to stop the cron daemon sending mails only for that specific process. Thanks !:D (3 Replies)
Discussion started by: karine
3 Replies

10. UNIX for Dummies Questions & Answers

Cron Daemon

Hey all, I'm running Mandrake 7.2 with several of the development/server tools loaded and operating. One problem I'm having is that I keep getting emails from the "Cron Daemon". They all say: touch: /var/log/news/nntpsend.log: Permission denied chmod: same as above /usr/bin/nntpsend: ... (2 Replies)
Discussion started by: ober5861
2 Replies
Login or Register to Ask a Question