scheduled-tasks

Problem in creating Timer Job

Hi, I have created a site collection inside a web application with user A as a site collection adminstrator. I have added a link in site feature page. On click of that link I am trying to create a timer job.Below is the code executed on click of the link //Allow unsafe updates. SPContext.Current.Web.AllowUnsafeUpdates = true; //Get cu...

Scheduling a Task in Railo

I recently decided to move one of my simpler apps over to Railo. So far so good. One Problem, it's a scheduled task. How/where does one set them up? Under Railo Express I clicked in Tasks under both administrator and web admin sites, and no dice.. It only seems to show tasks which did not exceed ala an exception list. I just want so...

Schedule SSIS Through Web Application

Does anyone know of a good way for a user to be able to specify the schedule for a SSIS package through a web application? The package will run once a day, but the user needs to be able to configure the time that it will run. i.e. every day @ 7am or every day @ 8am etc. ...

CRONTAB for mobiles

Hi there, I was just wondering, but some one might have already thought off! Is it possible to built a crontab type application for mobile phones (for Java enabled phones)? I am thinking of an application, which, does checks at scheduled timings and on certain cases acts without manual intervention. Have any one built such an applicat...

Schedule Task in Vista For all Users

I have created a schedule task, I enter an admin privileged user(UserOne) "When running the task, use the following user account:" I provided a link to an exe file from "Actions" tab. Is there any way to allow this task to run by any user(admin privileged)? I found only that specific user(here "UserOne") can open the task. ...

Word Interop Not Working In A Scheduled Task

I'm currently developing a script that takes a Word document, opens it up in Word, and then prints the Word file as a PDF. Everything works great when run manually either on my machine or the server. The problem comes in when I attempt to run it as a scheduled task. One of the requirements is that this should be done nightly without an...

Most efficient way to implement preemptive waiting queue?

Hi all. I've been racking my brain trying to figure this out. Here is the scenario. I essentially have a sorted static list that contains various times that an event is supposed to happen. For visualization: +-----------------------+ | Time | LastUpdate | |-----------------------| | 1 | 03:10:00 | 0 | 2 | 03:10:00...

Should a programmer try to list their "Next Actions"?

David Allen's "Getting Things Done" recommends keeping a "Next Action" list to organize your work, where a "Next Action" is the next physical action you will do to make progress towards an objective. In programming, determining what to do next is often almost as hard as doing it (sounds like the halting problem). Most of the work is exa...

How to: Create reminders that should trigger an event to be handled in a Windows application?

Hello all. I need to develop a windows application with .NET 3.5 that needs to have a calendar and user can schedule appointments. I want (not with a windows-service) that while the application is on, all the reminders that are set up for this user + reminders that admins set them up, should trigger an event in the application so I can...

win service or scheduled task to Periodically Call a Web Service?

I have a web service which I would like to call on a scheduled basis. Currently, I have a scheduled task setup to execute the call. Here's a link Jon Galloway's post on the topic. I'm planning to switch this out with a Win Service, simply to appease my boss, but I'm wondering what the advantages are (aside from keeping my job ;). I pe...

How many times program has run? C#

How can I get the number of times a program has previously run in C# without keeping a file and tallying. If it is not possible that way, can it be gotten from the Scheduled Task Manager? To C. Ross: how would this be done in a registry setting? forgive me. . . what is a registry setting? ...

How do you verify that a scheduled tasks exists on a server using c#?

also how can you tell if it is running, enabled/disabled, etc.? ...

How to install .exe as cron job or scheduled task? C#

I have a small program that I would like to turn into an installable windows.form. It needs to automatically be run as a cron job/scheduled task. How can I do this? C# ...

I need to sleep for long periods (days) in Java

I have an app that needs to do one thing, and one thing only, on a schedule and it will be able to calculate easily the time it next needs to run. It may not need to run this task for days or months from now, but will probably be active in every other respect every few milliseconds. I'm looking for a simple lightweight approach to sched...

cron jobs or PHP scheduler

Hi, I am using MYSQL as my database and PHP as my programming language.I wanted to run a cron job which would run until the current system date matches the "deadline(date)" column in my database table called "PROJECT".Once the dates are same an update query has to run which would change the status(field of project table) from "open" to ...

SQL 2000 Scheduled Jobs Max Character

I'm trying to schedule a long T-SQL script. However, the script gets cut off when pasted into the text box. I googled the problem and there is a 3200 character limit. What do you recommend I do to solve this? Create a stored procedure and run that as a scheduled job? Is there a better option? If it helps, here is the script. I...

How to Add a ClickOnce program to the Vista TaskScheduler?

This should be a duplicate question, but I haven't be able to dig up the answer. I want to add a task to the Vista Task Scheduler that launches my ClickOnce installed program. As I understand the .exe of the application is hidden? So I tried to enter the desktop shortcut as the item to start in the Action tab. But this does not work. I g...

Scheduled Task Fail error

I am running a C# .NET 3.5 console app on Windows Server 2003 x64, that I want to run every 5 minutes as a scheduled task. The code runs on schedule and correctly (gathering data and writing to a SQL Server 2005 database) when I am logged into the machine. When the task runs with no user interactively logged in, it fails with the error...

From cmd.exe script, how can I schedule a task to run on next boot (and never again)?

As part of a very simple cmd.exe install script, I need to run a program the next time the machine reboots. I don't want it to run after that (it's a one-shot configuration tool). The program will actually be another cmd.exe script but any example should do since I can run cmd /c on the script itself. What's the best way to go about do...

Windows incremental backup script

I'm from a linux background, and need to run an incremental backup script on windows. I already have a batch script which dumps my database into a file. What I'd like is to only keep backups for the last seven days in addition to one backup file per week for the last 4 weeks (for example). I presume it's possible to do something like thi...