JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 24.04.2020, 12:04
AlphaSlayer AlphaSlayer is offline
Wind Gust
 
Join Date: Sep 2019
Posts: 40
Default Event Script Trigger (designated time)

I know there is the the interval trigger for the event scripter but it would be awesome if there was a designated time trigger. Say I want this script to trigger at 7am every day or something like that. The best way I can see of doing this currently is buy using the scheduler to restart jdownloader and set the script to run when jdloader starts.

Last edited by AlphaSlayer; 24.04.2020 at 12:11.
Reply With Quote
  #2  
Old 24.04.2020, 13:53
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

Best and recommended way is to use the Interval trigger and check time(range) and only execute script when wished. It's much easier and can satisfy every use case.
One wishes *7am every day*, another use *7am each wednesday*, another use *7am, 9am, on day x,y,z" and so on. I know it doesn't look like lot of work to add a new trigger but the current trigger system is generic and *7am every day* would be a new sort of trigger, a dynamic trigger which is not yet supported and would required changes , new gui elements/dialogs and so on...
I really think that the current Interval trigger is the easiest and most customizable one.
In doubt, just ask mgpai for help with this, https://board.jdownloader.org/showthread.php?t=70525
or check the thread, I'm sure there is already similiar script available.
__________________
JD-Dev & Server-Admin
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 04:14.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.