views:

351

answers:

5

I'm making a program for my own use.
In this program, I need to set up cron job. The cron job should run every minute (24 hr * 60 mins = 1440 times). Thus, I'll need to set up a cron job with a frequency of 1 minute.

I think Google App Engine gives free cron job. But I'm very new to it. I downloaded the java SDK and read the document but understood nothing :( So, I can't use Google App Engine. Is here any other free service like Google app engine which but with easier inferface???

All I want is a cron job with 1 minute frequency

Please help/suggest me...
Thank you

+8  A: 

Just install linux.

jeroen
i don't have a server :(
Nok Imchen
You do when you install linux
jeroen
can we set up cron job with 1 minute frequency in Google App Engine??
Nok Imchen
@jereon: not really, you still need something to install linux *on*, which is (a) always on and (b) always online. Unless Ubuntu is doing free broadband and UPS, linux does not provide those things :-). I have in effect a fixed IP address at home, but I still host my domain on a server somewhere (in London, I think. Could be wrong).
Steve Jessop
@Steve Jessop, true, you need a computer and an internet connection...
jeroen
friends, I'm going to use http://www.setcronjob.combut I gives cron job of 5 minutes interval for free accounts :(Anyways, i'm happy with it.Thank you all for your suggestions :)
Nok Imchen
How exactly will a maintaining a linux server be *easier* for someone who's decided they can't follow the GAE cron docs?
wrt
@wrt, well, I´ve never read the java SDK and I doubt that I will understand anything (don´t know java...), but I think installing for example Ubuntu and some cronjobs is pretty straightforward.
jeroen
+2  A: 

If this is a java app, then you can use Quartz, right? This way you can control what to do when the job fails (like cleaning up certain resources, sending emails, etc).

CoolBeans
+1  A: 

Maybe you want to use a service like setcronjob.com.

This lets you specify a URL that will be triggered periodically (according to the cron pattern you choose).

Of course, you still need to have a server somewhere to host the URL and implement the actual task there.

Thilo
A: 

You can do this in App Engine - see the cron docs for details. In order to provide any more specific help, we'd need to know what you want that cron job to do, precisely.

Nick Johnson
A: 

I had the similar need. Ended up testing a whole bunch of scheduling services. Check out cronservice.co.uk/new/, setcronjob.com or mywebcron.com. I ended up using the scheduler.codeeffects.com because of their set of features and the interface. Google for others, there are tons services like this. Most are free or give free stuff. Sorry for the late reply, but I thought this might help.

Gosha1976