Debugging scheduled javascript workflows

Do you have any limits on how often a scheduled workflow can run? I have the following simplified workflow code, and can't get it to work at all (no comments posted):

 

var entities = require('v1/entities');

exports.rule = entities.Issue.onSchedule({
title: 'Deadline checker',
search: '#Postponed has: Deadline',
cron: '* * * * *',
action: function(ctx) {
var issue = ctx.issue;
issue.addComment("Checking deadline...");

},
requirements: {
}
});
1 comment
Comment actions Permalink

In case you're on YouTrack InCloud, than there's a 10 minutes minimum interval. I suggest that you try the following expression: 0 0/5 * * * ?

0

Please sign in to leave a comment.