Collection Managers Support

Full Version: Auto Update
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
gotta say, great package. i've been looking for something like it - simple, comprehensive and clean - for ages.

first question:
how do i get the expiry dates etc to update automatically?

thx
Hi fealeit

I am very sorry for the delay in responding.

There are 2 ways for the expiry to auto populate. You can either turn pseudo cron on (go to the admin panel > settings > Enable Pseudo Cron)

However the preferred method is using a proper cron job especially if you have quite a few domain names.

If you wish to use normal cron you can use the following command:

Code:
0 * * * * php -q -f /PATH_TO_YOU_ROOT_FOLDER/includes/cron.php /PATH_TO_YOU_ROOT_FOLDER/includes/

Please remember to change PATH_TO_YOU_ROOT_FOLDER to the actual server path where you installed the portfolio script. If you use a proper cron job there is no need to turn off auto cron as this is automatic.

I am currently developing an updated version of the portfolio script which if only adding 1 domain at a time will automatically get the expiry and creation dates at that point
(07-06-2009 09:26 PM)Peter Wrote: [ -> ]If you wish to use normal cron you can use the following command:

Code:
0 * * * * php -q -f /PATH_TO_YOU_ROOT_FOLDER/includes/cron.php /PATH_TO_YOU_ROOT_FOLDER/includes/

This doesn't seem to work. It works if you're already in /PATH_TO_YOU_ROOT_FOLDER/includes/ . But in a cronjob you have to cd to the dir first.
Hmm this is the exact command I am using which is working, not had any need to CD to the directory.

I will look into what might be causing this and get back to you.
Hello...
I have also do auto update.I have few domain so i have been used normal corn but it does not work.What problem is create can you tell me.please help me.
I must admit that I tried to use the cron and have had trouble, so I deleted the cron and started using the "sudo", but it does not seem to update all the domains properly. Any ideas?
Sudo is less reliable due to it needing people to visit the site. I will release a new cron file shortly that will hopefully resolve the issue.
(27-02-2010 05:05 AM)Peter Wrote: [ -> ]Sudo is less reliable due to it needing people to visit the site. I will release a new cron file shortly that will hopefully resolve the issue.

My hosting provider has an GUI interface to create "scheduled" tasks. When it comes up it give you most of the options that you can do with cron, but not all of them.

This is what it gives me and what is entered:

*****************************************
Scheduled Task

Enter command to execute

Command: /www/mydomain.com/dpm/includes/cron.php /www/mydomain.com/dpm/includes/

Select Time Parameters

Minute(s): 07
Hour(s): every other hour
Day(s): every day
Month(s): every month
Weekday(s): every weekday

(Optional) Enter E-Mail address to send notification to

E-Mail Address:
myemail@mydomain.com
*****************************************

But that doesn't seem to work at doing the updates, yet it doesn't give me any errors.
Ok... about the updates.

The normal cron does not work with my provider. The "Pseudo Cron" works fine if I do each domain name individually, but for some reason, when I did a bulk, it doesn't get the information and do a proper update.
Hi kmckinstry

May sound like a silly question but in the command you did change mydomain to be the proper domain? It is just this is easily missed and would of course cause a problem.

Also I take it no email comes through with anything on it at all?

I see a few people are having issues running the cron. I will revamp it a bit and get back to you.
Pages: 1 2
Reference URL's