Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Scheduled Tasks created through Roxy are not triggering #723

Closed
bhandaru opened this issue Jan 23, 2017 · 10 comments
Closed

Scheduled Tasks created through Roxy are not triggering #723

bhandaru opened this issue Jan 23, 2017 · 10 comments

Comments

@bhandaru
Copy link

I have created a scheduled task using the following configuration and it does not trigger the job.

      <scheduled-task>
        <task-path>/load/indeed/load-indeed-data.xqy</task-path>
        <task-root>/Users/xxxxx/home/projects/xxxxx/src/xxxxx/marklogic/src</task-root>
        <task-type>minutely</task-type>
        <task-period>3</task-period>
        <task-days></task-days>
        <task-database name="${content-db}"/>
        <task-modules name="${app-modules-db}"/>
        <task-user name="admin"/>
        <task-host name="xxxxxx.local.net"/>
      </scheduled-task>

A scheduled task created from the admin console using the same parameters triggers as expected.

@dmcassel
Copy link
Collaborator

After running bootstrap, did you use the Admin UI to confirm that the scheduled task was set up the way you expected?

@RobertSzkutak
Copy link
Contributor

Which version of Roxy and which version of MarkLogic? I'll try to reproduce.

@bhandaru
Copy link
Author

bhandaru commented Feb 1, 2017

The admin console shows the job set up as I expected. ML version is 8.0-6. Roxy version is 1.7.4.

@RobertSzkutak
Copy link
Contributor

So to be clear: After bootstrapping with Roxy the job appears to be setup correctly but it does not actually run?

@bhandaru
Copy link
Author

bhandaru commented Feb 2, 2017 via email

@RobertSzkutak
Copy link
Contributor

Do you see any hints in your ErrorLog as to why it doesn't run?

@dmcassel
Copy link
Collaborator

dmcassel commented Feb 2, 2017

Also, if you look in your MarkLogic install directory, you'll find a groups.xml file. Can you please paste the scheduled job's XML from that file? If it doesn't match up, the bootstrap process is likely generating it wrong.

@grtjn grtjn modified the milestone: July 2017 Jun 1, 2017
@grtjn
Copy link
Contributor

grtjn commented Jun 7, 2017

@bhandaru quite some time past since your last message. Did you manage to get it working, or discover more details about this?

@bhandaru
Copy link
Author

bhandaru commented Jun 9, 2017 via email

@grtjn
Copy link
Contributor

grtjn commented Jun 9, 2017

Closing now, thanks..

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants