Hi Kristof,
I have just saw the cronjob thing, and not able to run it cuz I am on cgi mode .
Is there any way to do it while i am on Cgi mode not a cli mode? Knowing that soon we are upgrading to a hosting that can have the cli installed.
I didn't understand how many times i have to run the cronjobs any way ? is it only once when i add a new workflow or what ?
There is soultion, look on this documentation page (run cronjob via Webbrowser ) http://ez.no/products/ez_publish/documentation/configuration/configuration/cron_jobs
And you have to run the cronjob regularly for wait until...
Each time it runs it looks if some content were supposed to be published because the date of publication is in the past.
The time between two runs define the precision of when the system is going to publish. If you want an article to be published at noon but can afford to have it published at 2pm only, then you don't need to run it more than every two hours.
well,
These 2 documentation and points are very helpfull, now i put the cronjob code, so i think it runs every 2 hours as i copied the part specifying the 2 hours interval. But i think i still have the article publih as soon as i click send for publishing.
Should i have the Triger set to : content/publish/after or before ?
Hi,
according to the server time it was 1:40 am ,so i made the publishing date at 1:45 am, before that i made the triger as publish/before.
The results , i found that the article went to my pending items. Souyld i wait the next time that the cronjob run , in order i have my pernding list empty ?
I will wait 2 hours and check and reinform you thanks
The item will be published next time the cronjobs run after 1:45 am. Of course you can also run them manually right after 1:45 am to see if it works. Good luck!