Login or create new account.

By registering on joomprod.com, you will have immediate access to all our free products and to the public side of our support forum.

Enjoy our subscriptions.

Each of our subscriptions allow you to enjoy the private side of the support forum and all the update of our products for a period ranging from 3 months to 1 year.

Payment And immediate download.

After subscribing to one of our subscription, the products are immediately downloadable.

Login

Or Register

Support Availability Because we must sleep sometimes

Working days: Monday to Friday.
Reply time: Depending on the complexity of your support issue it's usually between a few hours to 48 hours.

Support is only guaranteed to paid subscribers

AdsManager - End of life

It is with great regrets that we have chosen to end the developpement of Adsmanager and its other associated components.

AdsManager is born 10 years ago and, as of today, the number of new subscriptions and downloads have fallen and we cannot maintain the component anymore.

All active subscribers will be able to continue enjoying support until the end of their subscription.

The components will be free and no support will be provided anymore for the other users.

×

Notice

The forum is in read only mode.

× OLD Forum post could be checked here : forum.joomprod.com

cron

More
10 years 6 months ago - 10 years 6 months ago #19598 by SerGuN
cron was created by SerGuN
Hello. Can you explain work algorithm of cron. I don't understand how many times of a day does it work? I see that cron update time in __adsmanager_cron, but I don't see when it's working. Thank you.
Last edit: 10 years 6 months ago by SerGuN.
The following user(s) said Thank You: adarr
More
10 years 6 months ago #19621 by loic
Replied by loic on topic cron
Hello,

In the setting, the configuration 'Cron type' must be set to 'On User Request', if you don't know what to choose.

The cron is triggered every 24H, the last date is saved in the database in the table 'adsmanager_cron'.

Best regards.
The following user(s) said Thank You: adarr
More
10 years 6 months ago #19630 by SerGuN
Replied by SerGuN on topic cron
Hello. How can I change this period 24H to more frequent starts? for example 1 hour or on each Webcron start?
The following user(s) said Thank You: adarr
More
10 years 6 months ago #19644 by loic
Replied by loic on topic cron
Hello,

I told you an incomplete answer in my previous message, sorry.

In the file 'components/com_adsmanager/lib/cron.php', you can see 2 blocks of code.

The first, beginning with this line :
if (date("d",$current) != date("d",$last))

is run every day.

The second :
if (date("H",$current) != date("H",$last))

is run every hour.

You can copy-paste the content of the first block into the second to run every functions hourly.

Best regards.
The following user(s) said Thank You: adarr, SerGuN
More
10 years 6 months ago #19655 by SerGuN
Replied by SerGuN on topic cron
Thanks :)
The following user(s) said Thank You: adarr
More
10 years 6 months ago #19668 by loic
Replied by loic on topic cron
Hello,

Do you have other questions about that ?

Best regards.
The following user(s) said Thank You: adarr
Moderators: perry
Time to create page: 0.072 seconds
Powered by Kunena Forum