<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 3/29/2013 1:31 PM, Marcello Torchio
wrote:<br>
</div>
<blockquote
cite="mid:CAPREzeA9u008=RY=G04NY-5p-i0SM8V7qF4HojJRy_e1xz_pgw@mail.gmail.com"
type="cite">
<div dir="ltr">Hi everybody,<br>
<br>
I go back to a topic discussed and started by me.<br>
<br>
I need to make automatic vhost suspension for customers who does
not pay bills after the expiration date of the domain.<br>
<br>
My idea was to build up a small MySQL DB which stores
information about domains hosted by my BO server and through PHP
scripts, CRON and shell commands I should suspend that vhost.<br>
<br>
I've tried different commands like cmodvsite, but there is no
way to set a host suspended.<br>
<br>
Is it right or i'm missing something?<br>
<br>
Can i do something via PHP using CCED?<br>
<br>
For example i can call periodically a shell script using cron.
This script can check MySQL DB for expiring domains and send
warning mail to customers.<br>
<br>
For expired ones i can suspend them.<br>
<br>
Thanks</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Blueonyx mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Blueonyx@mail.blueonyx.it">Blueonyx@mail.blueonyx.it</a>
<a class="moz-txt-link-freetext" href="http://mail.blueonyx.it/mailman/listinfo/blueonyx">http://mail.blueonyx.it/mailman/listinfo/blueonyx</a>
</pre>
</blockquote>
<br>
<br>
The cmodvsite could just rename the site to <br>
suspended.thedomain.com<br>
<br>
<br>
<br>
<br>
Ken Marcus<br>
</body>
</html>