Forums

Reloading the server

Hello there, I created an iPhone application that calls a python script hosted on the server. After a week or so the server needs to be reloaded. Is there a way to automatically reload the server every day?

Thanks! Greg

If you set up a scheduled task to update the modification time on the WSGI file, that should do the job. For example, a daily job that does

touch /var/www/your_domain_name_wsgi.py

...replacing your_domain_name with the actual domain name with dots replaced by underscores, of course :-)