I received a private message from a user wanting to know how to set this in cron to run every 30 minutes. Again, I request that people do not PM or email me these types of questions so that everyone may benefit, because I'm sure other people, not familiar with cron, would also like to know.

S/He wanted to know how to set this in cron to run every 30 minutes. I took the example from vShare where it tells us how to set cron to run the cron.php. CRON TOPIC HERE.

I then simply chanaged the time interval from */5 to */30 and changed cron.php to flushguest.php which is what I call this file.

Newbie: Intro to Cron

Basically you can use

GET http://mydomain.com/flushguest.php > /dev/null

or

/usr/bin/php -q /home/username/public_html/pathto/flushguest.php > /dev/null &