[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] PHP files in the CRON folders
- Subject: [cobalt-users] PHP files in the CRON folders
- From: Hamish Mackellar <hamish@xxxxxxxxxxx>
- Date: Wed Jun 18 17:47:00 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
Hi everyone,
Thanks for a wonderful mailing list!
This is my first question so please be kind, I have a PHP4 script that
simply adds data to my mysql DB. I want it to run ever hour. I have
extencive experience with php but not in programming within UNIX. Can
someone please show me a sample script that you would use to execute a php
script. I tried using the following under root and saving it as a file
under etc/cron.hourly/test.pl the contents of the script are:
/home/sites/www.whatever.com/web/test.pl
I just get a heap of error messages send to the root account.
Any suggestions? Thanks in advance!
Kind Regards,
Hamish Mackellar
General Manager
Flash 13
Phone: 03 9429 0733
Mobile: 0411 591 719
Fax: 03 9429 0744
Email: hamish@xxxxxxxxxxx
Web: www.flash13.com
ICQ: 41374563
Postal: Suite 50/ 310 Bridge Rd, Richmond 3121 Vic. Aust.
Office: 49 Gardner Street Richmond 3121 Vic. Aust.
FREE EMAIL AT WWW.FLASH13.COM!!!