- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2017 03:39 PM
Is it possible to set the discovery schedule to run on a Monday and then again on a Wednesday?
Thanks,
John
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2017 03:46 PM
You can have the script run daily at the time you want it to run.
Then, set the conditional checkbox field to true and in the conditions section define:
- (function() {
- //run on Monday, Wednesday and Fridays
- var day = new Date().getDay();
- return (day == 1 || day == 3);
- })();
This will run the discovery every day, but will only actually execute successfully if it is monday or Wednesday.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2017 04:05 PM
onLoad? onChange? or onSubmit?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2017 04:12 PM
EVerytime I add the condition field it would dissappear when I go back to the schedule

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2017 04:24 PM
You need to set the Conditional true false field to true.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2017 05:58 PM
Do we still specifiy a time we want it to run and it will look at that time?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-05-2017 10:39 AM
That is correct. Basically what it does is it runs at the selected time, but it will not execute the job unless the condition evaluates to true.
So you need to run it Daily at the time you want it to run.
It will run M, T, W, F but will not actually make the action except on M and W because thats when your condition evaluates to true.