jQuery in Action, 3rd edition
The moose likes Java in General and the fly likes schedule operation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "schedule operation" Watch "schedule operation" New topic

schedule operation

Gary Kit

Joined: Aug 03, 2002
Posts: 7
how to make a scheduled operation for eg:
every 15th of the month it will back up all the database or might do a generate report~ can any1 tell me pleaseee
Cindy Glass
"The Hood"

Joined: Sep 29, 2000
Posts: 8521
Set up a Chron job on unix or a Windows Task in the Scheduler perhaps.

"JavaRanch, where the deer and the Certified play" - David O'Meara
Gary Kit

Joined: Aug 03, 2002
Posts: 7
An example.. mayb plss : )
on a Windows 9X platform will do.. ^^
Michael Morris
Ranch Hand

Joined: Jan 30, 2002
Posts: 3451
Hi Gary,

on a Windows 9X platform will do..

Umm, I'm not sure about 9X but for NT Kernal (NT, 2000, XP) the cron equivalent is At. Here's an example:

That will run the batch file C:\cron\backup.bat at 3:30AM on the fifteenth of every month.
Michael Morris

Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
Phil Chuang
Ranch Hand

Joined: Feb 15, 2003
Posts: 251
That won't help him for win9x.
I'm not sure if win9x has the task scheduler or not, but I know 2k and XP has it for sure.
Check here:
start->accessories->system tools->task scheduler
if you have it, play around with it a bit, easy enough to figure out. If not, upgrade to a respectable OS
I agree. Here's the link: http://aspose.com/file-tools
subject: schedule operation
jQuery in Action, 3rd edition