Forum Discussion
------------------------------
Paul Peterson
------------------------------
------------------------------
Jeff Peterson
------------------------------
- PaulPeterson14 years agoQrew Assistant Captain
Jeff,
Is it possible to use cron for multiple times per day or will I need a separate pipeline for each time I need the data sent. Also, I need to send a report not data about a single record.
------------------------------
Paul Peterson
------------------------------- JeffPeterson14 years agoQrew Captain
Yes, you can set up the CRON code to trigger any number of times per day.
Here's an example and a useful site for creating the CRON code: https://crontab.guru/#5_1/3_*_*_*
You can see on that one that it would trigger "At minute 5 past every 3rd hour from 1 through 23."
Or: 0 8,11,14 * * 1-5 which would run “At minute 0 past hour 8, 11, and 14 on every day-of-week from Monday through Friday.”
You can play with the formatter there, then put the code into your pipeline.
As for the sending of a report, I'm not entirely sure how you might achieve that. I suppose you could have a dummy record that holds an embedded report, then it sends that record when the notification triggers. That way you would be able to automate sending the report each time it triggers.
------------------------------
Jeff Peterson
------------------------------