473,553 Members | 2,945 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Window service question

I need to make a c# program that will do uploads and downloads at 9am
and 3PM. The server is here, so I have access to it. Do I make a
console app and schedule it as a task. Or is there a better way. Is
there some code out there already to do this. I need to be able to keep
track of the files I download and upload.
Dave
www.helixpoint.com

Jan 13 '06 #1
3 1001
Do you need a user interface? Since you use the word "Server", I presume
your target machine is a Windows Server? I always use Windows Services if
the above first condition is false and the second true purely because
Windows Services are the right tool for this kind of job. But without the
other details it is difficult to give you advice.

<df********@hot mail.com> wrote in message
news:11******** *************@g 47g2000cwa.goog legroups.com...
I need to make a c# program that will do uploads and downloads at 9am
and 3PM. The server is here, so I have access to it. Do I make a
console app and schedule it as a task. Or is there a better way. Is
there some code out there already to do this. I need to be able to keep
track of the files I download and upload.
Dave
www.helixpoint.com

Jan 13 '06 #2

<df********@hot mail.com> wrote in message
news:11******** *************@g 47g2000cwa.goog legroups.com...
|I need to make a c# program that will do uploads and downloads at 9am
| and 3PM. The server is here, so I have access to it. Do I make a
| console app and schedule it as a task. Or is there a better way. Is
| there some code out there already to do this. I need to be able to keep
| track of the files I download and upload.
|
|
| Dave
| www.helixpoint.com
|

You don't need a service for thi, just use the scheduler to run a console
application once at 9am and another time at 3pm.

Willy.
Jan 13 '06 #3
Hi,

Certainly a console app being run by a sched job is a flexible solution. the
other could be a windows service.

Keeping a look is fairly simple, just write it to a file or dump it in the
event log
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

<df********@hot mail.com> wrote in message
news:11******** *************@g 47g2000cwa.goog legroups.com...
I need to make a c# program that will do uploads and downloads at 9am
and 3PM. The server is here, so I have access to it. Do I make a
console app and schedule it as a task. Or is there a better way. Is
there some code out there already to do this. I need to be able to keep
track of the files I download and upload.
Dave
www.helixpoint.com

Jan 13 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

18
2474
by: Andrew Poulos | last post by:
If I manage to call the following bit of javascript in IE and MZ w = window.open("", "s", 'status=no,resizable=no,width=450,height=450'); I get a window that is not resizable and without a statusbar. Yet FF gives me both a statusbar and the window is resizable! Does this mean that FF does not support these "features" or is there a...
7
7261
by: BW | last post by:
Hi all! I'm not sure where to post this so I'm giving these a try. If there is a better (more appropriate) place to post please let me know. I want to create a service (in C#). The service's purpose is to monitor a given service, and when the service becomes disabled and/or stopped I want to restart the service. I have figured out how to...
12
6507
by: Dilip | last post by:
Hi All I have a server based C# console application. This application must hide its console window when its launched out on the field. So I dutifully P/Invoke'd FindWindow/ShowWindow combination to hide the console window at launch time. The application (for legacy reasons) hangs around by waiting on an old- fashioned...
0
1898
by: henkya | last post by:
Language Used: C# Project Typed: Setup Project (for .NET Window Service) Hi Bump into this issue and seriously have a hunch that this is a bug in the .NET setup project. These are the scenario: - I have an existing Window-Service application written in C#, and was build following the general deploying Window-Service guideline (the...
0
844
by: olanger | last post by:
Let me explain the scenerio, I have a window service that has timer and OnElapsed timer event I'm calling a method. This method process business logic and It's multi threaded. The problem...when the window service starts and you try to stop it by going to the window service and pressing stop, It won't. I'm getting a message "the service didn't...
0
7568
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7492
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
1
7526
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7852
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6109
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
3537
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3525
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1990
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1106
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.