Is it possible to execute a schedule job within a schedule job .For Instance ,I have a schedule job A that does some operations .There is another schedule job B that executes after Schedule Job A is executed. So rather than manually going and running the job using admin mode which is a straightforward option, Is there a way wherein I can execute job B after Job A is executed successfully? I found an interface IScheduledJobExecutor which looks like it does but i am not sure if this is advisible to do that. Any thoughts on this?
Episerver: Execute a Schedule Job within a schedule Job
459 Views Asked by Ms1 At
1
There are 1 best solutions below
Related Questions in EPISERVER
- CSS class on generated div element for EPiServer blocks
- EPIServer mulit-language routing can't work
- EPIServer CMS Development
- EPiServer 9: Is there any real alternative for EPiServer ContentArea Contents?
- EPiServer Remote Certification Exam Registration Purchase Order
- EPiServer MVC currentPage issues
- Access Current Page from a Block's Controller
- Issues with EPiServer Profile properties in web.config
- How can I format a date for an EPiServer property rendered in a view?
- How can I apply custom widths to input fields on an EPiServer property?
- Local Block as a part of the ContentArea
- How to configurate EPiServer 7.5 CMS authentication?
- How can I separate properties visually for an EPiServer ContentType?
- Episerver localizing language for editor UI (content editors)
- EPiServer.Configuration.Settings.Instance - Application is initialized with settings for siteId="x", but current request maps to siteId="y"
Related Questions in OPTIMIZELY
- A/B testing Optimizely and Google Analytics with Screen Resolution=(not set)
- Optimizely - How to access the variation name
- Wastebasket/Trash bin at Optimizely Multisite
- Content Delivery API multiple Page response/Content Search API Filter Criteria
- Optimizely Revenue Tracking jQuery snippet
- A/B Test solutions for a locked source code environment - server side decides which user gets which variation
- Adding TinyMCE plugin with toolbar icon using a module package in Episerver CMS 12
- Episerver: Validating contents from Robot.txt
- EpiServer - IContentLoader returns different page types when filtering for the start page
- Get Page url on block types
- Copy files from the NuGet package to the destination project when installing the nuget package
- Get URL path for image from episerver blob file
- Get page's blocks in EPiServer Content delivery API
- Setting Scheme programmatically of website
- Customizing Optimizely (Episerver) block outer div css class
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I would not create dependencies between scheduled jobs like that. Instead, consider refactoring your code so that the business logic of both operations can be carried out in the same scheduled job.
So, let's say you refactor your code into
Foo()andBar().Then create the following for maximum flexibility:
Scheduled Job Awhich executesFoo()onlyScheduled Job Bwhich executesBar()onlyScheduled Job Cwhich executes bothFoo()andBar()Obviously, you might not need #1 and #2 unless there is good reason for executing the operations individually.