FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Process queue without cron jobs
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Process queue without cron jobs [message #170063] Fri, 08 October 2010 15:44 Go to next message
Netlopa is currently offline  Netlopa
Messages: 4
Registered: October 2010
Karma: 0
Junior Member
Hi,

I'm writing here to ask you how can I automatize the queue processing of
phpList.
My hosting doesn't support cron jobs, so now we process manually the
queue (we have to click all the days, once an hour).
I want to automatize the process, but we cannot use cron jobs from the
hosting company.
Are there any workaround?I've tried to write a batch, running into a
client, that does wget to retrieve a page, but doesn't function.
The wget command is like this:

wget -q -O -
' http://www.mydomain.com/lists/admin/index.php?page=processqueue&login=m yusername&password=mypassword&reload=0'

Unfortunately, the amount of emails that I would send is very high :(

Thank you in advance for your future proposals :)

Netlopa
Re: Process queue without cron jobs [message #170066 is a reply to message #170063] Fri, 08 October 2010 15:55 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 10/8/2010 11:44 AM, Netlopa wrote:
> Hi,
>
> I'm writing here to ask you how can I automatize the queue processing of
> phpList.
> My hosting doesn't support cron jobs, so now we process manually the
> queue (we have to click all the days, once an hour).
> I want to automatize the process, but we cannot use cron jobs from the
> hosting company.
> Are there any workaround?I've tried to write a batch, running into a
> client, that does wget to retrieve a page, but doesn't function.
> The wget command is like this:
>
> wget -q -O -
> ' http://www.mydomain.com/lists/admin/index.php?page=processqueue&login=m yusername&password=mypassword&reload=0'
>
>
> Unfortunately, the amount of emails that I would send is very high :(
>
> Thank you in advance for your future proposals :)
>
> Netlopa

What does this have to do with PHP? wget is not a PHP command, after all.

Maybe you need another host. Or ask in a more appropriate newsgroup.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
Re: Process queue without cron jobs [message #170088 is a reply to message #170066] Sat, 09 October 2010 15:40 Go to previous messageGo to next message
Netlopa is currently offline  Netlopa
Messages: 4
Registered: October 2010
Karma: 0
Junior Member
Il 08/10/2010 17:55, Jerry Stuckle ha scritto:
> On 10/8/2010 11:44 AM, Netlopa wrote:
>> Hi,
>>
>> I'm writing here to ask you how can I automatize the queue processing of
>> phpList.
>> My hosting doesn't support cron jobs, so now we process manually the
>> queue (we have to click all the days, once an hour).
>> I want to automatize the process, but we cannot use cron jobs from the
>> hosting company.
>> Are there any workaround?I've tried to write a batch, running into a
>> client, that does wget to retrieve a page, but doesn't function.
>> The wget command is like this:
>>
>> wget -q -O -
>> ' http://www.mydomain.com/lists/admin/index.php?page=processqueue&login=m yusername&password=mypassword&reload=0'
>>
>>
>>
>> Unfortunately, the amount of emails that I would send is very high :(
>>
>> Thank you in advance for your future proposals :)
>>
>> Netlopa
>
> What does this have to do with PHP? wget is not a PHP command, after all.

I haven't explained well the problem and I know that wget is not a php
command :)

In practice, in the config.php related to phplist, i've configured a
task duration of 3600s for send @ 1200 emails/task duration ==> email
rate @1200emails/hour.
The problem is that the script must be run for 1 hour (the maximum
period allowed by phplist).
Running the page
../index.php?page=processqueue&login=myusername&password=mypassword &reload=0
Firefox continues for 1 hour, reloading the page (to mantain active the
queue processing), because there is a limit of the PHP script duration
that i couldn't change :(

So, i want to ask you, if there is a workaround in order to automate the
queue processing or is better that I reduce the period time and recall
the script several times (respecting the time constraint setted by the
hosting service) via wget called by another computer.
Unfortunately the office is closed (i don't have credentials) and i
can't test :(

>
> Maybe you need another host. Or ask in a more appropriate newsgroup.
>

I think that is better change the host, but my company doesn't want
invest money for more quality service.
Aruba @30 EUR/year is not the better solution :)
Re: Process queue without cron jobs [message #170089 is a reply to message #170088] Sat, 09 October 2010 19:12 Go to previous messageGo to next message
sheldonlg is currently offline  sheldonlg
Messages: 166
Registered: September 2010
Karma: 0
Senior Member
On 10/9/2010 11:40 AM, Netlopa wrote:
> Il 08/10/2010 17:55, Jerry Stuckle ha scritto:
>> On 10/8/2010 11:44 AM, Netlopa wrote:
>>> Hi,
>>>
>>> I'm writing here to ask you how can I automatize the queue processing of
>>> phpList.
>>> My hosting doesn't support cron jobs, so now we process manually the
>>> queue (we have to click all the days, once an hour).
>>> I want to automatize the process, but we cannot use cron jobs from the
>>> hosting company.
>>> Are there any workaround?I've tried to write a batch, running into a
>>> client, that does wget to retrieve a page, but doesn't function.
>>> The wget command is like this:
>>>
>>> wget -q -O -
>>> ' http://www.mydomain.com/lists/admin/index.php?page=processqueue&login=m yusername&password=mypassword&reload=0'
>>>
>>>
>>>
>>>
>>> Unfortunately, the amount of emails that I would send is very high :(
>>>
>>> Thank you in advance for your future proposals :)
>>>
>>> Netlopa
>>
>> What does this have to do with PHP? wget is not a PHP command, after all.
>
> I haven't explained well the problem and I know that wget is not a php
> command :)
>
> In practice, in the config.php related to phplist, i've configured a
> task duration of 3600s for send @ 1200 emails/task duration ==> email
> rate @1200emails/hour.
> The problem is that the script must be run for 1 hour (the maximum
> period allowed by phplist).
> Running the page
> ./index.php?page=processqueue&login=myusername&password=mypassword& amp;reload=0
> Firefox continues for 1 hour, reloading the page (to mantain active the
> queue processing), because there is a limit of the PHP script duration
> that i couldn't change :(
>
> So, i want to ask you, if there is a workaround in order to automate the
> queue processing or is better that I reduce the period time and recall
> the script several times (respecting the time constraint setted by the
> hosting service) via wget called by another computer.
> Unfortunately the office is closed (i don't have credentials) and i
> can't test :(
>
>>
>> Maybe you need another host. Or ask in a more appropriate newsgroup.
>>
>
> I think that is better change the host, but my company doesn't want
> invest money for more quality service.
> Aruba @30 EUR/year is not the better solution :)

An email every three seconds? On a continuous basis? Are you some kind
of spammer? Don't we all receive enough junk as it is?

As for _me_, unless you could convince me that this is for a legitimate
purpose, and not for sending out endless viagra messages, I wouldn't
help you if you paid me.

--
Shelly
Re: Process queue without cron jobs [message #170090 is a reply to message #170088] Sat, 09 October 2010 20:08 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 10/9/2010 11:40 AM, Netlopa wrote:
> Il 08/10/2010 17:55, Jerry Stuckle ha scritto:
>> On 10/8/2010 11:44 AM, Netlopa wrote:
>>> Hi,
>>>
>>> I'm writing here to ask you how can I automatize the queue processing of
>>> phpList.
>>> My hosting doesn't support cron jobs, so now we process manually the
>>> queue (we have to click all the days, once an hour).
>>> I want to automatize the process, but we cannot use cron jobs from the
>>> hosting company.
>>> Are there any workaround?I've tried to write a batch, running into a
>>> client, that does wget to retrieve a page, but doesn't function.
>>> The wget command is like this:
>>>
>>> wget -q -O -
>>> ' http://www.mydomain.com/lists/admin/index.php?page=processqueue&login=m yusername&password=mypassword&reload=0'
>>>
>>>
>>>
>>>
>>> Unfortunately, the amount of emails that I would send is very high :(
>>>
>>> Thank you in advance for your future proposals :)
>>>
>>> Netlopa
>>
>> What does this have to do with PHP? wget is not a PHP command, after all.
>
> I haven't explained well the problem and I know that wget is not a php
> command :)
>

No, you explained it quite well. And I ask again - what does this have
to do with PHP? Sure, you're asking a question about a product written
in PHP - but that doesn't mean the question is appropriate here. After
all, Linux is written in C - so according to your logic, I should ask
all my Linux questions in a C programming group.

> In practice, in the config.php related to phplist, i've configured a
> task duration of 3600s for send @ 1200 emails/task duration ==> email
> rate @1200emails/hour.
> The problem is that the script must be run for 1 hour (the maximum
> period allowed by phplist).
> Running the page
> ./index.php?page=processqueue&login=myusername&password=mypassword& amp;reload=0
> Firefox continues for 1 hour, reloading the page (to mantain active the
> queue processing), because there is a limit of the PHP script duration
> that i couldn't change :(
>

Still absolutely nothing to do with PHP.

> So, i want to ask you, if there is a workaround in order to automate the
> queue processing or is better that I reduce the period time and recall
> the script several times (respecting the time constraint setted by the
> hosting service) via wget called by another computer.
> Unfortunately the office is closed (i don't have credentials) and i
> can't test :(
>

So I ask you again - what is your PHP question?

>>
>> Maybe you need another host. Or ask in a more appropriate newsgroup.
>>
>
> I think that is better change the host, but my company doesn't want
> invest money for more quality service.
> Aruba @30 EUR/year is not the better solution :)

Then they may have to live with having to click on the browser once an hour.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
Re: Process queue without cron jobs [message #170091 is a reply to message #170089] Sat, 09 October 2010 22:18 Go to previous messageGo to next message
Netlopa is currently offline  Netlopa
Messages: 4
Registered: October 2010
Karma: 0
Junior Member
Il 09/10/2010 21:12, sheldonlg ha scritto:
> On 10/9/2010 11:40 AM, Netlopa wrote:
>> Il 08/10/2010 17:55, Jerry Stuckle ha scritto:
>>> On 10/8/2010 11:44 AM, Netlopa wrote:
>>>> Hi,
>>>>
>>>> I'm writing here to ask you how can I automatize the queue
>>>> processing of
>>>> phpList.
>>>> My hosting doesn't support cron jobs, so now we process manually the
>>>> queue (we have to click all the days, once an hour).
>>>> I want to automatize the process, but we cannot use cron jobs from the
>>>> hosting company.
>>>> Are there any workaround?I've tried to write a batch, running into a
>>>> client, that does wget to retrieve a page, but doesn't function.
>>>> The wget command is like this:
>>>>
>>>> wget -q -O -
>>>> ' http://www.mydomain.com/lists/admin/index.php?page=processqueue&login=m yusername&password=mypassword&reload=0'
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Unfortunately, the amount of emails that I would send is very high :(
>>>>
>>>> Thank you in advance for your future proposals :)
>>>>
>>>> Netlopa
>>>
>>> What does this have to do with PHP? wget is not a PHP command, after
>>> all.
>>
>> I haven't explained well the problem and I know that wget is not a php
>> command :)
>>
>> In practice, in the config.php related to phplist, i've configured a
>> task duration of 3600s for send @ 1200 emails/task duration ==> email
>> rate @1200emails/hour.
>> The problem is that the script must be run for 1 hour (the maximum
>> period allowed by phplist).
>> Running the page
>> ./index.php?page=processqueue&login=myusername&password=mypassword& amp;reload=0
>>
>> Firefox continues for 1 hour, reloading the page (to mantain active the
>> queue processing), because there is a limit of the PHP script duration
>> that i couldn't change :(
>>
>> So, i want to ask you, if there is a workaround in order to automate the
>> queue processing or is better that I reduce the period time and recall
>> the script several times (respecting the time constraint setted by the
>> hosting service) via wget called by another computer.
>> Unfortunately the office is closed (i don't have credentials) and i
>> can't test :(
>>
>>>
>>> Maybe you need another host. Or ask in a more appropriate newsgroup.
>>>
>>
>> I think that is better change the host, but my company doesn't want
>> invest money for more quality service.
>> Aruba @30 EUR/year is not the better solution :)
>
> An email every three seconds? On a continuous basis? Are you some kind
> of spammer? Don't we all receive enough junk as it is?

I am not a spammer, I work for commission (they asked me to fix this
problem and I haven't another interest on this task, my work finish here
XD).
They explained me that they manage various mailing-list (I hope that
these are legally subscribed but I cannot proof this).I am the first
that I don't want junk emails :)

> As for _me_, unless you could convince me that this is for a legitimate
> purpose, and not for sending out endless viagra messages, I wouldn't
> help you if you paid me.
>

I cannot proof the purpose of this company.
Thank you for your answer.
Re: Process queue without cron jobs [message #170092 is a reply to message #170090] Sat, 09 October 2010 22:23 Go to previous message
Netlopa is currently offline  Netlopa
Messages: 4
Registered: October 2010
Karma: 0
Junior Member
Ok.I'll try to ask in another newsgroup, but before requesting help,
i'll try to solve this question when the office is open.

Thank you anyway.
Regards,

Netlopa

Il 09/10/2010 22:08, Jerry Stuckle ha scritto:
> On 10/9/2010 11:40 AM, Netlopa wrote:
>> Il 08/10/2010 17:55, Jerry Stuckle ha scritto:
>>> On 10/8/2010 11:44 AM, Netlopa wrote:
>>>> Hi,
>>>>
>>>> I'm writing here to ask you how can I automatize the queue
>>>> processing of
>>>> phpList.
>>>> My hosting doesn't support cron jobs, so now we process manually the
>>>> queue (we have to click all the days, once an hour).
>>>> I want to automatize the process, but we cannot use cron jobs from the
>>>> hosting company.
>>>> Are there any workaround?I've tried to write a batch, running into a
>>>> client, that does wget to retrieve a page, but doesn't function.
>>>> The wget command is like this:
>>>>
>>>> wget -q -O -
>>>> ' http://www.mydomain.com/lists/admin/index.php?page=processqueue&login=m yusername&password=mypassword&reload=0'
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Unfortunately, the amount of emails that I would send is very high :(
>>>>
>>>> Thank you in advance for your future proposals :)
>>>>
>>>> Netlopa
>>>
>>> What does this have to do with PHP? wget is not a PHP command, after
>>> all.
>>
>> I haven't explained well the problem and I know that wget is not a php
>> command :)
>>
>
> No, you explained it quite well. And I ask again - what does this have
> to do with PHP? Sure, you're asking a question about a product written
> in PHP - but that doesn't mean the question is appropriate here. After
> all, Linux is written in C - so according to your logic, I should ask
> all my Linux questions in a C programming group.
>
>> In practice, in the config.php related to phplist, i've configured a
>> task duration of 3600s for send @ 1200 emails/task duration ==> email
>> rate @1200emails/hour.
>> The problem is that the script must be run for 1 hour (the maximum
>> period allowed by phplist).
>> Running the page
>> ./index.php?page=processqueue&login=myusername&password=mypassword& amp;reload=0
>>
>> Firefox continues for 1 hour, reloading the page (to mantain active the
>> queue processing), because there is a limit of the PHP script duration
>> that i couldn't change :(
>>
>
> Still absolutely nothing to do with PHP.
>
>> So, i want to ask you, if there is a workaround in order to automate the
>> queue processing or is better that I reduce the period time and recall
>> the script several times (respecting the time constraint setted by the
>> hosting service) via wget called by another computer.
>> Unfortunately the office is closed (i don't have credentials) and i
>> can't test :(
>>
>
> So I ask you again - what is your PHP question?
>
>>>
>>> Maybe you need another host. Or ask in a more appropriate newsgroup.
>>>
>>
>> I think that is better change the host, but my company doesn't want
>> invest money for more quality service.
>> Aruba @30 EUR/year is not the better solution :)
>
> Then they may have to live with having to click on the browser once an
> hour.
>
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Send .csv file to browser
Next Topic: PHP Form Cookie Question
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 18:45:10 GMT 2024

Total time taken to generate the page: 0.02513 seconds