title: Celery PeriodicTask arguments
body: <p>How can I change arguments passed to Celery programmatically? What do I have to change in the following code:</p>
  
  <pre><code>from celery.task import PeriodicTask
  
  class MyTask(PeriodicTask):
      run_every = timedelta(seconds=1)
      value = ''
      def run(self, **kwargs):
          print 'Passed value %s' % value
  </code></pre>
  
  <p>I'd like to be able to change the value property during application lifetime. The value will be probably a dictionary, but I doubt if it changes anything.</p>