Skip to content

Latest commit

 

History

History
76 lines (53 loc) · 1.41 KB

Notes.md

File metadata and controls

76 lines (53 loc) · 1.41 KB

##Notes

Remote Events

Execute on cd server via remote event

###Scheduled task Click button or scheduled task

  • get logs for today
  • get logs for yesterday
  • run per day
  • configure email from
  • configure email to

Attachment name

  • Add date time replacement tokens {datetime}

###Email

Test email? - No, can test by clicking send logs button. If no logs, send email with message - 0 Logs

Log stats

Future - Could add stats for showing how many files are in the logs, as well as the size of the log folder

##Development Plan

Loose ends

  • attachment name
  • log folder

###Start Job Add button

Add scheduler

  • out: start job
  • out: email address
  • out: date range

Pipelines

  • <pigeon.executesendlogs> -- <pigeon.findfiles> -- <pigeon.zipfiles> -- <pigeon.sendfiles>

###Find files Look for files with a pattern

  • in:log directory (DONE)
  • in:-date pattern- (Use the default yyyyMMdd.HHmmss) (DONE)
  • in:date range start/end (DONE)
  • out:file names (DONE)

###Zip files Take provided filenames Add files to temp zip file

  • in: file names DONE
  • in: -output file name- (uses a stream)
  • out: single zip (as stream) DONE
  • out: list of log files contained in the zip and sizes DONE

###Send files Add file to mail Send to email

  • in: log stats (DONE)
  • in: attachment name (DONE)
  • in: zip file (DONE)
  • in: email address (DONE)
  • out: email message with attached file, list of log files -and sizes- (DONE)