简体   繁体   中英

Where to get 1440 free cron jobs a day?

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

只需安装linux。

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).

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.

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.

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.

To schedule a job in Java, use cron.xml

Python uses the more terse cron.yaml format .

In both cases, it's actually quite easy to use, you can schedule jobs, with the following actual description and Google App Engine will understand what it means:

every 12 hours
every 5 minutes from 10:00 to 14:00
2nd,third mon,wed,thu of march 17:00
every monday 09:00
1st monday of sep,oct,nov 17:00
every day 00:00

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM