Get help, report and discuss bugs.
-
dalrun
- Posts: 170
- Joined: 09 Sep 2008, 17:12
-
Contact:
Post
by dalrun » 29 Nov 2008, 20:53
I've been testing scripts that check for / fetch new nzb's. While cron would work, it would be nice if I could schedule a script call from nzbgetweb. I don't know if that would mean defining a new NZBGet variable or if there is somewhere else a command option could be defined.
-
dude
Post
by dude » 30 Nov 2008, 21:50
I guess you mean the new scan command?
I think this will be a new button to click in future nzbgetweb.
At this time I stop and start the daemon to fetch new nzb's.
Works great.
-
hugbug
- Developer & Admin
- Posts: 7645
- Joined: 09 Sep 2008, 11:58
- Location: Germany
Post
by hugbug » 01 Dec 2008, 17:12
dalrun wrote:I've been testing scripts that check for / fetch new nzb's. While cron would work, it would be nice if I could schedule a script call from nzbgetweb. I don't know if that would mean defining a new NZBGet variable or if there is somewhere else a command option could be defined.
How often the script should be called?
-
dalrun
- Posts: 170
- Joined: 09 Sep 2008, 17:12
-
Contact:
Post
by dalrun » 01 Dec 2008, 20:08
dude wrote:I guess you mean the new scan command?
Nzbgetweb 1.3 has a scheduler function that allows you to schedule pause, resume and KBps commands. I'd like to schedule a script that tracks select TV shows and automatically downloads the nzb-files for new episodes.
hugbug wrote:How often the script should be called?
Because of the NzbsRus.com limit of 100 records per page, it may be that it needs to be called twice a day... I haven't played with NZBMatrix.com yet, I see that their limit is 50 records per page. It's unfortunate that the ShowDates.com database is flawed/corrupted, its a great concept and once a day would be fine.
-
hugbug
- Developer & Admin
- Posts: 7645
- Joined: 09 Sep 2008, 11:58
- Location: Germany
Post
by hugbug » 01 Dec 2008, 22:54
Implemented in r262:
Added command <Process> to scheduler option <TaskX.Command>; replaced options <PostLogKind> and <NzbLogKind> with new option <ProcessLogKind> which is now used by all scripts (PostProcess, NzbProcess, TaskX.Process).
Example:
Code: Select all
Task1.Time=22:58
Task1.Command=Process
Task1.Process=/home/user/taskprocess.sh
-
dalrun
- Posts: 170
- Joined: 09 Sep 2008, 17:12
-
Contact:
Post
by dalrun » 02 Dec 2008, 20:53
Motivation to upgrade from r247
... Tested and working, thank you.
Who is online
Users browsing this forum: No registered users and 53 guests