Skip to content

cotton-more/datravel-schedule

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

datravel-schedule

About

The development team are required to have a mid month meeting in order to discuss the ongoing improvements and new features to the code base. This meeting is planned for the 14th of every month. Testing is also done on a monthly basis and should be done on the last day of the month.

If the 14th falls on a Saturday or Sunday then the mid month meeting should be arranged for the following Monday.

If the testing day falls on a Friday, Saturday or Sunday then testing should be set for the previous Thursday.

The command line script will write a CSV to file outputting the columns 'Month', 'Mid Month Meeting Date' and 'End of Month Testing Date' for the next six months.

Install

  • Clone this repository or dowload it
  • Switch to the application folder
  • Install Composer: curl -sS https://getcomposer.org/installer | php
  • ... and install all dependancies with php composer.phar install
  • Run application: php console schedule:mid-meeting

Description

Calculate upcoming meeting and testing days and output result into console. You can save result by appending > filename.csv at the end of command. By default timetable builds for six months including current. By adding a number of months you can can change output. It it possible to pass file name with an option -f foo or --file="foo" where foo is filename to output the result. File will be placed in the folder from which application was called. Be careful, file will be overwritten. For help run php console help schedule:mid-meeting

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages