|
Posted by Craig Storey on 01/30/06 18:17
Well, why not phpcron - http://www.phpclasses.org/browse/package/2392.html.
You still need to write the other php scripts to do the backups, but
this will let you schedule them without root access or a running
cronserver. Read the docs, it's a neat approach to the problem.
Craig
roblevintennis@gmail.com wrote:
> Is there already a tool available for poeple with no cron job access?
> Thanks.
>
> I'm on the economy 'shared server' program with Godaddy. There's no
> root and no cron job available to me...ergh! I want to make a daily
> check on my mysql db (check a field to see if any users need to recieve
> a notification email). I called godaddy and they said there are no
> other tools available (on my plan) for scheduled tasks to run server
> side scripts. I've thought of a twisted workaround but want get some
> feedback on if there's a better/easier way. Here's my solution:
>
> 1. Have a scheduled task on my xp home box daily that points to a
> utility I have called iOpus File Downloader.
> 2. It will make downoad the php page on my site (I've already tested
> and it can do this) and write to a file on my local box.
> 3. The PHP will really function as a background process somehow
> triggering an action of emailing anyone who needs to recieve
> notifications today. However, it will echo a timestamp and since iOpus
> File Downloader writes the output of the page it downloads, I'll
> esentially have a log that my page was hit on that day.
> 4? I need some logic to make sure it ONLY checks the db once a day
> otherwise someone could hack me into making mulitple calls, etc.
> Perhaps a log file that logs
> <made_call_today>true</made_call_today><tstamp>'todaysdate'<tstamp>.
>
> Here's the current godaddy software:
>
> Operating System
> Red Hat Linux
> Kernal
> Version 2.4.21-4.0.1 elsmp
> Web Server
> Apache 1.3
> Web Programming Languages
> PHP 4.3.11
> Tomcat (Java) 5.0.27
> CGI / Perl 5.8
> Python 2.2
> Frontpage 5.0.2.5012
> Databases
> MySQL 4.0.24
>
Navigation:
[Reply to this message]
|