I am trying to define a batch task with Kapacitor which is execute each 
day at a certain time. First I am just trying to do a select using cron but 
this is not working (I have enabled the task).  Here the code: 


   1 batch

   2     |query('''

   3     SELECT distinct(value) as value FROM  
FMV_energy."default"."puissance.electricite"

   4     WHERE "source" = 'FMV' AND "station" = 'siesa.consommation.PCV' 
AND "typeof" = 'forecast'

   5     ''')

   6     .period(2d)

   7     .cron('0 5 16 * * * *')

   8     .groupBy(time(15m))

   9     .fill(0)


What am I doing wrong?


How have  I to manage the timezone in Kapacitor? It should be the problem?


Thank you


wug




-- 
Remember to include the InfluxDB version number with all issue reports
--- 
You received this message because you are subscribed to the Google Groups 
"InfluxDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/influxdb/63576a50-a845-4f6e-80e8-b2c4c226473c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to