Schedule ofr NT

Just starting out? Need help? Post your questions and find answers here.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Nessie.

Does anyone know if it is possible to schedule a program to run in NT even if there is no-one logged in without having to use the AT command?
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Berikco.

If you update to Explorer 5 or higher, you get the Task Scheduler Service Under NT4, you can schedule a program under any account that is allowed to log on localy on the server.
Nobody must be logged on to local console.




Regards,

Berikco

http://www.benny.zeb.be
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Nessie.

Thanks, but it needs to run from a desktop PC and connect to an FTP server. I was thinking about running it as a service, in fact.......Hmmmmm
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Berikco.

Hi nessie,

Forget the word 'server' i put in.
Works on NT/W2K/XP
You can run a app from task scheduler, or use the ftp command from NT.
just type ftp in command prompt and a ? for the help.


Regards,

Berikco

http://www.benny.zeb.be
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Nessie.

Thanks, I'll give it a try
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Berikco.

Here an example
Put this in your batch file, example 'ftp.bat'

Code: Select all

c:cd \winnt
ftp -n -s:ftpscript.txt ftp.yourserver.com
Put this in your ftpscript.txt file.

Code: Select all

user loginname password
dir
binary
get filename.zip "c:\download\filename.zip"
quit

Regards,

Berikco

http://www.benny.zeb.be
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Nessie.

Thanks, you've been a great help
Post Reply