You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Pablo Pita Leira (JIRA)" <ji...@apache.org> on 2016/02/19 12:49:18 UTC

[jira] [Created] (DELTASPIKE-1081) Offer the possibility to provide the cron expression via configuration

Pablo Pita Leira created DELTASPIKE-1081:
--------------------------------------------

             Summary: Offer the possibility to provide the cron expression via configuration
                 Key: DELTASPIKE-1081
                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-1081
             Project: DeltaSpike
          Issue Type: Improvement
          Components: Scheduler
            Reporter: Pablo Pita Leira
            Priority: Minor


Currently the cron expression used when scheduling jobs should be hardcoded within the @Scheduled annotation. 

It would be nice to offer the users the possibility to provide the cron expression via external configuration.

@Scheduled(externalCronExpression="my.expression")

The property my.expression would be provided by DeltaSpike's ConfigResolver.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)