|
From: Jamie C. <jca...@we...> - 2005-12-28 11:32:45
|
Glad you managed to delete all that email.. Regarding your question on how to run a PHP command from Cron, in the Scheduled Cron Jobs moduleyou should be able to just create a new job that has the command set to : php /users/user/sites/xxx.php >/dev/null 2>&1 - Jamie On Wed, 2005-12-28 at 18:56, Christer Sylven wrote: > YIPEE!! > I found the button and could delete the 8000 in one stroke! Thank you! > Sincerely > chsy > > -----Ursprungligt meddelande----- > Från: web...@li... > [mailto:web...@li...] För Jamie Cameron > Skickat: den 28 december 2005 08:28 > Till: web...@li... > Ämne: Re: [webmin-l] newbie difficulties... > > Hi Christer, > There should be an option on the Module Config page to turn on a button for > deleting all mail in a mailbox. Failing that, you could just delete the > actual mail file manually. > > To prevent masses of mail from your cron jobs in future, enter the command > as : > > /users/user/sites/xxx.php >/dev/null 2>&1 > > - Jamie > > -----Original Message----- > > From: "Christer Sylven" <chr...@me...> > Subj: [webmin-l] newbie difficulties... > Date: Wed 28 Dec 2005 4:35 pm > Size: 1K > To: <web...@li...> > > Hi! > Have tried to do a cronjob and indeed it worked: Discovered 8000 messages > in the mailbox. Can delete 20 at a time! But how to delete them all at a > time? > Want to run a php program on a scheduled basis. The program is located in > /users/user/sites/xxx.php. But how to write the command in the webmin box? > Sincerely > chsy > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > - > Forwarded by the Webmin mailing list at web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_idv37&alloc_id865&opÌk > - > Forwarded by the Webmin mailing list at web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list |