scheduled-tasks

Is there a good way to create a recurring import for an ASP.NET site?

The site I'm working on is running Windows Server 2003 and SQL Server 8 (2000?), and ASP.NET 3.5. I need to have some sort of script or application run to import data from an FTP'd text file, into the database. There is already a site running on the machine, that uses the current database. Can I use a scheduled task to reliably kick o...

C# Running a winform program as someone other than the logged on user.

I need my winform program to run as another user (it will run under task scheduler) and not the logged on user. I suspect the trouble is my app is gui based and not command line based (does this make a difference) so the gui needs to load do its thing and then close. Is this possibly under XP or Vista? Thanks ...

Java library class to handle scheduled execution of "callbacks"?

My program has a component - dubbed the Scheduler - that lets other components register points in time at which they want to be called back. This should work much like the Unix cron service, i. e. you tell the Scheduler "notify me at ten minutes past every full hour". I realize there are no real callbacks in Java. Here's my approach, i...

Run a script on Windows startup without a user logged on

This is a Windows 2003 machine that gets switched on every morning, but no one logs on until some hours later. I want to use the time in between to run a backup script c:\script\backup.cmd How can I start this unattended after the machine has come up? I tried 2 registry keys, but this resulted in the script being run after a user logs...

VB 2008 Periodic Tasks

What's the easiest way to run a periodic task in the background in VB? For example: Update a label every second with the current time, while still allowing the form to be available. ...

My script won't run under the task scheduler. Why?

I have a vbscript script that I runs fine when I am running it myself. For some reason, when I run it under the task scheduler as an administration user, it runs, but doesn't even write to my log file. It shouldn't be permissions, as the user I run it under is adminstrator. Its a script calling 32 bit dlls on a Win2008 64 bit machine....

c# reliable delayed/scheduled execution best practice

The project I am working on requires some executions to be done at a certain time. I am not sure what would be the best way to deal with this situation. The method must be able to survive server restart/maintenance. And method calls must be programmatically. I am considering going down this path: I could have a table in database (or ev...

Periodic Windows Server Based Processes

I have some custom programs I've written to do various maintenance/monitoring tasks that I run periodically (some every few minutes, some as little as once a day). Is it a better practice to run them out of the task scheduler, or to run them as a windows service (triggered by an embedded timer object)? ...

How can I schedule a report in SharePoint to run on the last day of the month?

I have several reports in SharePoint that are served by SQL Server Reporting Services in SharePoint Integrated mode. Some of these reports need to be automatically generated on the last day of the month. While SSRS itself has a "last day of month" option, SharePoint doesn't have this capability in its scheduling options. What is the bes...

Scheduled task not able to write files on an external server

Hello everybody, I'm having problems with a scheduled task running in a windows 2003 server scheduled task Task is running under the nt authority/system account sending files to another windows2003 server in same domain. Machine where task is executed runs under a domain account with limited permissions in domain and machine Folder ...

On *nix is there a way to trigger a process at a future date & time?

I'm looking to allow a user to enter a date and time to send out a mass email through PHP, although I'm thinking it might be best to use a *nix command to trigger the PHP process. I'm wondering if there is a way on *nix to do this without adding a cronjob to run every 15 minutes to check if there is a mass email to be sent. It's not that...

Please suggest .Net Job/Task Queue

I need to build a network of services that will process data. Each service needs its own task queue. Preliminary I will need operations like QueueTask, CancelTask, StopTask, GetTaskStatus and GetTaskProgress. I am looking for framework or fully built implementation of Task Queue. At this time I know some options: MSMQ - It OK for my n...

How reliable is windows task scheduler for scheduling code to run repeatedly?

I have a bit of code that needs to sit on a windows server 2003 machine and run every minute. What is the recommended way of handling this? Is it ok to design it as a console service and just have the task scheduler hit it ever minute? (is that even possible?) Should I just suck it up and write it as a windows service? ...

Scheduled jobs in ASP.NET website without buying dedicated servers.

How can i perform various task (such as email alert/sending news letter) on a configured schedule time on a shared hosting server. thankx dude , i love this website. ...

Windows Service or Scheduled Task, which one do we prefer?

If we need to write a program that works periodically, which way do we prefer? Writing a windows service or writing a console application which works as scheduled task? ...

Set a script to run on a schedule?

How can I set a PHP script to run on a schedule? I don't have full control over the server as I am using a hosting company, I have a PLESK administration for the hosting though. Thanks ...

Permissions required to create/modify tasks in Windows Task Scheduler

I need to create and modify tasks in Windows Task Scheduler on Windows Server 2003 from an ASP.NET web application. The Network Service that the web app runs under is unable to make the changes. It errors with an System.UnauthorizedAccessException exception. It works fine running from Visual Studio on my desktop. What permissions do I ...

How to prevent backgroundrb from starting multiple copies of the same task?

Say, I have a worker that's set up to run every 15 minutes using the cron scheduling feature of backgroundrb. Then, say, if a single instance of the worker takes longer than 15 minutes to run, I don't want a second worker to be started in paraller by backgroundrb. How do I achieve that? ...

Schedule SSIS package execution

How do I schedule SSIS to automatically execute a package from a file at a given time every day? ...

How to write a shellscript date check that will not To run Except 3rd week sat, Sunday and 4th week Monday of the month.

E.g. the schellscript will not run on april 18, 19 and 20 and then for may is 16, 17 and 18 and so on Thanks ...