How can I run Scheduled Export Twice in every Week
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2019 01:59 AM
Hi,
I want to run Scheduled Export twice in every week i.e, on Tuesday and Thursday at 2 AM.
Can any one please give some solution for this.
Thanks,
Labels:
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2019 02:07 AM
Hi Vennela,
I guess the easiest way would be to create 2 export jobs that run weekly, one that runs on Tuesday and on that runs on Thursday.
Regards
Fares
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2019 05:08 AM
And this to the conditional script on the scheduled job:
(function() {
//run on Tuesday and Thursday
var day = new Date().getDay();
return (day == 2 || day == 4);
})();