Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Change to every 1 minute On the hourEvery 5 minutes Leave as isLeave as isAccording to note in next column, nothing needed hereChange to every 2 ?
CategoryTask NameDescriptionFrequencySuggested Staggering for Faster ProcessingNotes
Data collectionupdate-apis

Download device data (e.g. GlowCap readings, weights from Nokia, etc.) from manufacturer APIs. This data goes initially into a table called connector_event_infos which is not visible to users.

HourlyOn the hour  
sync-csvCopy CSV files from the web server (where they are uploaded) to the tasks server (where they are processed)Every 10 minutesCSV files are a text-formatted Excel file used to upload data into Way to Health where a device integration doesn't (yet) exist
nansenAlternative task for downloading device data. Currently only used in CMMI.HourlyOn the hour + 7 mins (e.g. 8:07am, 9:07am, etc.) 
Data processingprocess-data
  • Process downloaded device data (and CSV files), placing the results into "Manage Data"
  • Link device data to encounters
  • Close device encounters that have ended without data attaching
Hourly 
apply-feedbackSend feedback built on encounters that have just been closedUpon successful completion of the process-data task 
Messagingcreate-alert-notificationsCreates outbound notifications for Alert and Report encountersUpon successful completion of the apply-feedback task
send-voice-messagesWhen a notification is sent for a participant, it looks at notification preferences. Emails are sent immediately; voice messages and text messages are queued and sent out by these tasks.Every 5 minutesChange to every minute 
send-text-messagesEvery 5 minutesChange to every minute 
create-medication-remindersFor studies that use the "Medication Reminders" feature, sends the medication reminders immediately (without queueing) via text/voice/emailEvery 10 minutesFine to leave – not used much anymoreIf the task runs at 10:33, all participants whose reminder time is between 10:30 and 10:39 will receive a reminder.
ReportingreportsCreate CSV reportsDaily at 1am 
sync-reportsCopy CSV reports to the web server, where they can be downloaded by study staff from the "Reports" tabUpon successful completion of the reports task 
Miscget-broadcastsPull platform wide broadcasts from the AlmanackEvery 5 minutesNo longer relevant
process-jobs

Runs miscellaneous user-triggered jobs, e.g.

  • Export data (triggered from Manage Data)
  • Update participant schedules (triggered by changes to the arm's encounter schedule)
Every 10 minutes minutes 
Paymentscreate-payment-xmlCreate a payment file to send to Wells FargoDaily, between midnight and 1amLeave as is 

wf-process-acknowledgment

Process Wells Fargo's acknowledgement file, marking payments as "processed" within Way to Health and sending a notification to the user letting them know that the payment is on its wayDaily, between 8am and 9amLeave as is 

 

Tasks that run for the platform in general

Suggested Staggering for Faster ProcessingStart on the hour + 1 minute (e.g. 8:01am, 8:11am, 8:21am, etc.)
AreaTask NameDescriptionFrequencyNotes
Data analysissync-exports Every 10 minutes 
update-big-irons Every 10 minutesStart on the hour + 2 minutes (e.g. 8:02am, 8:12am, 8:22am, etc.) 
deid Daily at 5amLeave as is 
Payments

send-paymentmanager-files.php

 Daily at 1:00 amLeave as is 

send-stagecoach-files.php

 Daily at 1:01 amLeave as is 

get-acknowledgment-files.php

 HourlyOn the hour + 21 minutes (e.g. 8:21am, 9:21am, etc.) 
Misc

cronjobs/backup.php

Code backupsDaily at 3:00 amLeave as is 

cronjobs/process-log.php

 Every 10 minutesStart on the hour + 3 minutes (e.g. 8:03am, 8:13am, 8:23am, etc.) 

cronjobs/cleanup-old-logs.sh

Cleanup old log tables by deleting entries older than 2 weeks

Daily at midnightLeave as is 

cronjobs/inactive-study-tasks.sh

 HourlyOn the hour + 28 minutes (e.g. 8:28am, 9:28am, etc.)Former user (Deleted)