Write some Software - Repost

Event Manager Class:

- it will be executed automatically with (a timer every minute or 10 seconds). (CAUTION: I don't events to start twice)

- It will start events every:

1. Day in a certain hh:mm. EX: 20:00 so at 20:00 it will start.

2. Day of week wd:hh:mm. EX: 06:18:00 it will start on Saturday 18:00

3. Week of month (1st week) and Day of that week (saturday). w:wd:hh:mm (w = first/second/third/fourth week wd=weekday)

4. Day of a month example: 1st of Jan. or 24th of Dec. md:hh:mm (md = month day 0-31)

5. Month of a year and week of the month and day of the week. example: Jun 3rd week Fri. mm:ww:wd:hh:mm (mm = month 12 / ww= week (1/2/3/4) / wd = weekday)

- Also it will have a time to end the event and that could be optional.

- It will print a sentence : Event has started. inside a method StartEvent()

- It will print a sentence when ends: Event has ended. inside a method EndEvent().

(optional if there is an end time or just a time set like 1 hour or 2 hours or so.)

- Calculating the time it will end at. example: in the start echo the even will end in x hours. (optional: if there is an end time)

- It will print a message every x hour (Next Event is EVENT_X it will start in Saturday May 23 2016).

MySQL table example:


CREATE TABLE `events` (


`Event_name` varchar(255) NOT NULL,


`start_time` varchar(255) NOT NULL, `end_time` varchar(255) DEFAULT NULL,

`start_command` varchar(255) NOT NULL,

`end_command` varchar(255) DEFAULT NULL,

`started` int(1) NOT NULL DEFAULT 0,



Examples just to give an idea how I want it to work. start_time:

Period(MONTHLY) "week:weekday:hh:mm:ss" so it will be like 1:Sat:20:00:00 1 stands for 1st week or the month. Another example: Period(ANUALLY) "month:week:weekday:hh:mm:ss" so it will be like May:1:Sat:20:00:00 1 stands for 1st week or the month.

Compétences : Mobile App Development, MySQL, Architecture Logicielle, Développement de logiciel, Tests de Logiciels

en voir plus : read excel file write mysql table, write txt file mysql table php, can write code paging php mysql table, jsp read excel write mysql table, java read xls write mysql table, php script save checkbox status mysql table, mysql table xml file, getafreelancercom grab web data mysql table, display mysql table, software write technical manual, read mysql table, counting entrie mysql table, joomla image mysql table, mysql table structure dump, php mysql table user

Concernant l'employeur :
( 0 commentaires ) Singapore

Nº du projet : #12713810

1 freelance fait une offre moyenne de $150 pour ce travail


Hired by the Employer

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 5 jours
(0 Commentaires)