Cron Jobs may not help me here as cron jobs schdule format is like this..and
i want my job to run every second.
Now i can see only one way which is Run a cron job every minues...insert 60
tasks and task queue should be configured to run only 1 task per second but
i m not sure if this setup will
Hi Ravi,
Responses inline.
On Sat, Apr 30, 2011 at 17:07, Ravi Sharma wrote:
> Hi Robert,
> How naming the task will help me?Sorry i didnt understand it. But anyways i
> have named them now.
The purpose in naming tasks is to help prevent fork-bombs. It helps
because otherwise if your task fa
You can also schedule a cron job if calling a particular URL every n seconds
is your only aim. Having said that, tasks run only once. But in cases of
failures, they can be run again. Not sure, but is there a way to set a limit
on the number of tasks in a queue? If there's an option like that, tr
Hi Robert,
How naming the task will help me?Sorry i didnt understand it. But anyways i
have named them now.
In My code i have made sure that whatever exception comes from my code will
not be thrown out of my controller and will just print it in log. So in what
scenerio it failed and retried and al
Hi Ravi,
You should name your tasks. If one fails and retries for some
reason, or runs multiple times, then the tasks will start to fan-out
(think fork-bomb).
http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/taskqueue/TaskOptions.html#taskName(java.lang.String)
Hi ,
I have a chained task which runs every 1 second(Still wondering how can i
run it every 3 seconds)
Task code is something like this
try{
//Do something
//read data store and update datastore
}catch(Throwable ex){
logger.log(Level.Sever,ex.getMessage(),