Forums / Developer / Auto rate currencies - execute via cronjob
steve walker
Monday 25 June 2007 9:40:49 am
Hi there,
We are using the (excellent) auto rate currencies on an ecommerce website.
It's all working fine when you click 'update auto rates' in the webshop backend, but i want to automate this via cronjob.
Is there an easy way to do this?
Many thanks, Steve.
http://www.oneworldmarket.co.uk
Tuesday 26 June 2007 7:15:37 am
any takers?
Kristof Coomans
Tuesday 26 June 2007 9:33:03 am
Hi Steve
You'll probably have to write your own cron job to do this, AFAIK there is no cronjob yet to do this.
independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org
kracker
Tuesday 26 June 2007 10:02:12 am
While no cronjob exists to do this at this moment.
Cronjobs are one of the simplest advanced topics / constructs in eZ to create!
We created and added a cronjob to the existing contribution,http://pubsvn.ez.no/community/trunk/extension/collectexport/
Which provides and extends the export of collected information content object information like feedback forms via the admin with a cronjob which does this job as an automated task / cronjob.
You can use this as a reference and guide to creating your own by reviewing the commit log for the added and modified files,http://pubsvn.ez.no/websvn/log.php?repname=community&path=%2Ftrunk%2Fextension%2Fcollectexport%2F&sc=1
For more information on cronjobs, try http://ezpedia.org http://ezpedia.org/wiki/content/search?SearchText=cronjob http://ezpedia.org/wiki/en/ez/collectexporthttp://ezpedia.org/wiki/en/ez/cronjob
<i>//kracker</i>
<b>beastie boys - (we have the ez) skills to pay the bills</b>
Member since: 2001.07.13 || http://ezpedia.se7enx.com/
Thursday 28 June 2007 1:25:41 am
Thanks very much for the information Kracker.
Steve.