nnCron can't start applications or documents

nnCron and nnCron LITE discussion

Re: nnCron can't start applications or documents

Postby VoidVolker » Wed, 19 Mar 2014, 06:30

With installing and at start if it doesn't exist.
95% вопросов уже обсуждались на форуме или ответы на них есть в мануале.        nnCron 1.93 b15.exe
Как правильно задавать вопросы.
User avatar
VoidVolker
Site Admin
 
Posts: 2896
Joined: Tue, 25 Apr 2006, 17:56

Re: nnCron can't start applications or documents

Postby aveger » Wed, 19 Mar 2014, 14:00

Ok, so I thought it was the nncron program folder folder it was supposed to create the ini files on, turns out it's the AppData. Silly me, sorry.

Here are the files:

tm.ini:
Code: Select all
WinSpyPos: 815 405
AddTaskPos: 863 269


nncron.ini:
Code: Select all
\ This file contains nnCron settings.
\ The keywords are described in nnCron documentation.
\ All keywords are case sensitive.
\ Don't forget to place a blank space after each keyword.
\ Restart nnCron after editing this file to apply your changes.

ShowErrorMsg ON
Crontab: "nncron.tab"       \ path of crontab file
Editor: default
Language: english
Cronlog: "log\%MM%%DD%cron.log" \ path of log
LogTimeFormat: "%hh%:%mm%:%ss% %ThreadId%" \ pattern for log time
YearField ON
CompleteTaskTimeout: 2000
QueryStartTimeout: 30
QueryStartAnswer: Yes   
DefaultOpenMode: ShowNormal
DefaultPriority: NormalPriority
DefaultLogonType: LogonInteractive
SysTrayIcon ON
IconForAdminsOnly OFF
MonitorResponseTime: 100
BackupPath: backup
WatchWinCreateDelay: 100
WatchProcDelay: 1000
Console OFF
ItemExit ON
ItemOptions ON
ItemConsole ON
ItemReload ON
ItemSuspend ON
MenuHotKey: ""
Guard ON
DialOnce ON
RunAsDefaultUser OFF
DefaultUser: xx
DefaultPassword:
DefaultDomain: zz
DefaultLoadProfile OFF
GUIAsUser OFF
GUIUser: xx
GUIPassword:
GUIDomain: zz
GUILoadProfile ON
SyntaxRestriction OFF
HelpFile: doc\help.chm
RemConsole ON
RemConsolePort: 2002
RemAllowed: 127.0.0.1
RemDisallowed: x.x.x.x
Log2StdOut OFF
DefaultRunMissedTime: 15
ReloadImmediately ON
TrayIconDoubleClick: options
TrayIconRightButton: menu
TrayIconBalloonClick: NOOP
PerfMonitor OFF
MaxClipboardSize: 10240
Outfile ON
Logging ON

INCLUDE "plugins\tools.spf"
INCLUDE "plugins\win2tray.spf"
INCLUDE "plugins\windows.spf"
INCLUDE "plugins\timesync.spf"
INCLUDE "plugins\wakeup.spf"
INCLUDE "plugins\time.spf"
INCLUDE "plugins\system.spf"
INCLUDE "plugins\ras.spf"
INCLUDE "plugins\http.spf"
INCLUDE "plugins\procwin.spf"
INCLUDE "plugins\winlirc.spf"
INCLUDE "plugins\net.spf"

: CRONTAB-ERROR 10 1 DO 100 I 100 * BEEP LOOP ;
: REMINDER-SOUND 500 500 BEEP ;
aveger
 
Posts: 13
Joined: Sat, 15 Mar 2014, 19:59

Re: nnCron can't start applications or documents

Postby VoidVolker » Wed, 19 Mar 2014, 21:53

In AppData is files for service, without -dir ....
In case:
aveger wrote:D:\WINCMD\cron\nncron.exe -ns -dir D:\WINCMD\cron

The ini files must be in "D:\WINCMD\cron".
95% вопросов уже обсуждались на форуме или ответы на них есть в мануале.        nnCron 1.93 b15.exe
Как правильно задавать вопросы.
User avatar
VoidVolker
Site Admin
 
Posts: 2896
Joined: Tue, 25 Apr 2006, 17:56

Re: nnCron can't start applications or documents

Postby aveger » Wed, 19 Mar 2014, 23:27

I'm running nncron as app, not service. Antivirus has the nncron folder unblocked. I don't know else could be wrong.


<...>D:\WINCMD\cron\nncron.exe -ns -dir D:\WINCMD\cron<...> isn't mine, as I said. I used a similar .bat file to run nncron, but not in this install of nncron.
aveger
 
Posts: 13
Joined: Sat, 15 Mar 2014, 19:59

Re: nnCron can't start applications or documents

Postby VoidVolker » Thu, 20 Mar 2014, 00:08

Then, i don't know what is the source of this problem.
95% вопросов уже обсуждались на форуме или ответы на них есть в мануале.        nnCron 1.93 b15.exe
Как правильно задавать вопросы.
User avatar
VoidVolker
Site Admin
 
Posts: 2896
Joined: Tue, 25 Apr 2006, 17:56

Re: nnCron can't start applications or documents

Postby aveger » Thu, 20 Mar 2014, 13:34

Well, it's fine, it's not a major problem anyway. Thanks for your help!
aveger
 
Posts: 13
Joined: Sat, 15 Mar 2014, 19:59

Re: nnCron can't start applications or documents

Postby aveger » Sat, 12 Apr 2014, 20:02

So it turns out I was silly and wrong, nncron does start as a "service". I installed it as an app, not service, but it's running from the <...>\AppData\Roaming\nnCron folder. It's considered an app (a process) on Task Manager, not service, but it's running from the wrong folder. How do I properly install it as an app?
aveger
 
Posts: 13
Joined: Sat, 15 Mar 2014, 19:59

Re: nnCron can't start applications or documents

Postby VoidVolker » Wed, 16 Apr 2014, 08:34

aveger wrote:it's running from the <...>\AppData\Roaming\nnCron folder

It is default option for many users. Use options in comand string to run nncron in any other directory:
Code: Select all
D:\nnCron\nncron.exe -ns -dir D:\nnCron

-ns = no service
-dir = use directory as home directory
95% вопросов уже обсуждались на форуме или ответы на них есть в мануале.        nnCron 1.93 b15.exe
Как правильно задавать вопросы.
User avatar
VoidVolker
Site Admin
 
Posts: 2896
Joined: Tue, 25 Apr 2006, 17:56

Re: nnCron can't start applications or documents

Postby ANR Daemon » Fri, 02 May 2014, 23:44

VoidVolker wrote:Then, i don't know what is the source of this problem.

The problem is that nnCron doesn't use proper functions to open documents.
ANR Daemon
 
Posts: 232
Joined: Mon, 26 Feb 2007, 22:59

Previous

Return to nnCron forum (English)

Who is online

Users browsing this forum: No registered users and 1 guest

cron