Jump to content

Scheduler: Executing an action/command on exit


Zazza

Recommended Posts

Posted

Hi (again)...

 

I've read (on another forum) that's possible to execute an action (or command) just after DVBViewer is closed using the Scheduler plugin.

So, I've downloaded and copied the scheduler.exe and write a scheduler.ini config using a user's example and placed them in the root folder of DVBViewer.

 

Here it is:

 

[scheduler]

Username=xxxx

Password=xxxx

[General]

Version=2.0.0.0

[frmScheduler]

Left=1255

Top=14

Width=336

Height=319

cbAutoSchedule=All

cbScheduleOnStart=1

cbScheduleOnClose=1

cbScheduleOnSuspend=0

cbContinueWith=Default

cbCloseOnShutdown=0

cbDontTune=1

cbAutoMinimize=1

udLeadTime=3

edSpecialParam=

DVBStartDelay=2000

DVBCloseDelay=2000

ScheduleDelay=1500

DVBRestartOnResume=0

Launcher=Scheduler.exe

LaunchedFile=DVBViewer.exe

cbStartMinimized=1

edBefore=

edAfter=D:\DVBViewer\test.cmd

edSleepTime=1000

RunAfter=0

 

The command I'd like to execute is the one in bold.

 

However, scheduler simply does nothing: test.cmd is not invoked. I've tried 2.0.0.0 and 2.1.0.0 versions with same results.

What am I doing wrong?

 

Thanks.

Posted

It will only be executed, if DVBViewer has started by a task before.

I don't really know the reason for it. But you can find it in a very old topic in this forum. It was a user request.

Today it might be obsolete, so I might remove the restriction.

Posted
Today it might be obsolete, so I might remove the restriction.

 

Sorry Hartwig... I don't get it... You mean that you could modify your plugin to execute a command EVEN WITHOUT starting DVBViewer with a task?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...