scheduled tasks - Making a java application run automatically once in a day? -


i did reminder application in java.i want run application @ 12 p.m generates mail client .the thing generate mail done,but main issue how make application run @ 12 p.m daily...

use cron (unix only)

add cron tab

0 0 * * * /path/to/your/file.sh >/dev/null 2>&1 

file.sh

#!/bin/sh java com.package.yourmainclass 

edit

on windows 8, take here : using task scheduler in windows 8


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -