Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Answered

How to set Batch Job Recurrence via X++ Job

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Good day, I would like to ask someone if they know a way to update this form via Job? I have a job which updates the Scheduled start date/time but I am unable to do the same to this.

pastedimage1593649857391v1.png

I believe that there is a SysRecurrence/SysRecurrenceBuild class that can be used but I haven't found a guide on how to use it yet.

  • Blue Wang Profile Picture
    Blue Wang on at
    RE: How to set Batch Job Recurrence via X++ Job

    HI Charos,

    Sorry for late reply. Please check if the following meets your needs.

    72532.PNG


    By the way, if your problem has been solved, please click Yes on the verified reply to close this thread.Thanks.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to set Batch Job Recurrence via X++ Job

    Good day Blue Wang, thanks for all the help you have provided me, I know this is unrelated to this issue but do you know of a way to convert the time in the date/time field here to seconds?

    Sample, i want this field to be converted into seconds.

    pastedimage1593693036105v1.png

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to set Batch Job Recurrence via X++ Job

    Thank you for this.

  • Verified answer
    Blue Wang Profile Picture
    Blue Wang on at
    RE: How to set Batch Job Recurrence via X++ Job

    Hi Charos,

    6087.PNG

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to set Batch Job Recurrence via X++ Job

    Also, after reading the link you have provided, do you know a way to only update the SysRecurrence start time only? Thank you in advance.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to set Batch Job Recurrence via X++ Job

    Hello,

    Thanks for this, this is noted.

  • Verified answer
    Blue Wang Profile Picture
    Blue Wang on at
    RE: How to set Batch Job Recurrence via X++ Job

    Hi Charos,

    Please check this:

    4276.PNG

    https://community.dynamics.com/365/financeandoperations/b/365foandaxtechnicalworld/posts/batch-job-schedule-x

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,661 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,379 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans