Нет описания

OwN-3m-All 63b9d60ea3 Merge pull request #18 from own3mall/master 2 лет назад
images 89e5ecc446 Migrated from sf.net 9 лет назад
lang a769eeb75e Transifex Language Updates - Generated by own3mall's auto script. 2 лет назад
modules f1a4daf171 Array Check Fix as Fixed in https://github.com/own3mall/Module-Simple-billing/commit/46fc0b3c19b030d7dee527159aaa75e2307e7a8f 2 лет назад
README.txt 89e5ecc446 Migrated from sf.net 9 лет назад
exim SMTP.txt 89e5ecc446 Migrated from sf.net 9 лет назад

README.txt

Hi guys!

EXIM as smarthost is only needed for hosts with dynamically assigned IP because it avoids to be blocked by some mail servers like hotmail.

Upload all files.

Login with ssh and change to the user 'www-data'(in ubuntu) or 'apache'(in centos) or any other user that manages the apache server with, for example:

sudo su - www-data

Now edit the cron tab for this user

crontab -e

and copy this line at the end of the file and save it (WARNING:modify it with the correct path):

*/1 * * * * php /var/www/html/ogp/modules/billing/cron-shop.php

Now this script searches for expired game homes every minute, and wil stop and remove them if they are expired.
If you would like to do this at midnight every day instead of every minute you should use

0 0 * * * php /var/www/html/ogp/modules/billing/cron-shop.php

TIP: Searching in google, for example, "cron every month" you will find the correct code to search expired homes and remove them every month.