After installing WinCron .NET, you connect to it with telnet.exe to view it's operation, start / stop jobs, list jobs, kill jobs, etc.
First, make sure WinCron .NET is running.
Control Panel/Administrative Tools/Services
If WinCron .NET is not running, right-click it and select 'Start'.
Assuming WinCron .NET is running locally and that you have not changed the default port, you will connect to it like this:
If you connect successfully, you will see a screen similar to this one:
For security reasons, WinCron .NET requires that you have an account on the machine you are connecting to. WinCron will not respond to any commands but Logon and Quit until you have logged in.
If you are part of a domain, you will need to enter that as well as your domain login info (user name and password.) If you are not part of a domain, or simply want to log into a local machine account, then just press <enter> when asked for the domain, or enter a single period '.' as that's shorthand for this machine.
You're all set to start having fun now! Woo!
We'll learn all about WinCron .NET Commands in an upcoming chapter, but for now, let's just try something really simple to get you started.
Type in
list
Now go to the folder where you installed WinCron .NET and copy the Hello.cs file from the
Sample Scripts Folder to the
Scripts Folder. If you installed WinCron .NET in the default location, that would be:
C:\Program Files\Tomasello Software\WinCron\Sample Scripts\Hello.cs
C:\Program Files\Tomasello Software\WinCron\Scripts\Hello.cs

All scripts in the
Scripts Folder are compiled and loaded by WinCron .NET automatically on startup.
After the Hello.cs file is copied over, we need to tell WinCron .NET to recompile the Scripts folder.
Issue the
compile command:
Now issue the
list command again:
As you can see our Hello.cs job compiled without error and loaded!
Let's just wait for a minute and see what happens...
As you can see, each minute our Hello Job executes and prints "Hello World!" on the console.
That's the basic model for writing scripts; you create/modify scripts in the WinCron .NET
Scripts Folder, then tell WinCron .NET to recompile them. Once you are happy with your script(s), you can simply forget them as WinCron .NET will automatically load them each time the computer is started.