I have an application that has core PHP for the signin, registration, dashboard. It has a front end and backend (dashboard). Simple stuff. I need to implement a Scheduling system and [EasyAppointments](https://easyappointments.org/) (EA) has 90% of the stuff I need. EA uses codeigniter and requires login. It has it own login as well. So now we have the front site and dashboard with 1 core php signin. The EA has it signin codeigniter. I need to combine both. The developer wants to use the EA signing for everything, but it is not as robust as my signin (IP, lock out, …

Member Avatar
Member Avatar
+0 forum 1

[CODE]struct PCB* handleProcessArrival_PP(struct PCB *processhead,struct PCB *processtail,struct PCB *currProcess,struct PCB *newProcess,int currTime){ if(currProcess==NULL){ newProcess->executionStartTime = currTime; newProcess->executionEndTime = currTime+newProcess->totalBurstTime; newProcess->remainingBurstTime = newProcess->totalBurstTime; if(newProcess->processID==processhead->processID){ processhead= newProcess->next; printf("processhead in case 1 %d \n",processhead->processID); } currProcess=newProcess; printf("***current process = new process%d \n",currProcess->processID); contents(processhead); return currProcess; //return processhead; } if (currProcess->processID !=0){ contents(processhead); if(currProcess->processPriority>newProcess->processPriority){//new process higher priority printf("***new process in handle %d \n",newProcess->processID); currProcess->executionStartTime = 0; currProcess->executionEndTime = 0; currProcess->remainingBurstTime = currProcess->totalBurstTime-(currProcess->executionStartTime-currTime); processtail->next=currProcess; processtail=currProcess; newProcess->executionStartTime=currTime; newProcess->executionEndTime = currTime+newProcess->totalBurstTime; newProcess->remainingBurstTime = newProcess->totalBurstTime; currProcess=newProcess; printf("current process replaced with%d \n",newProcess->processID); printf("processhead in case 2 %d \n",processhead->processID); return currProcess; } if(currProcess->processPriority<newProcess->processPriority){//new process lower priority contents(processhead); newProcess->executionStartTime = 0; …

Member Avatar
Member Avatar
-1 forum 1

Hi All, I am looking for a software that can be used for scheduling (Diary). But it must be a centralized one because 3 users wants to use it. Please help me to find a suitable software. Thank You all

Member Avatar
Member Avatar
+0 forum 3

Hello, I've got a question about a project in my operating systems class. The task was to create a program that lets the user choose a variety of cpu scheduling algorithms and simulates them with random data or data from a file. I've already done it for first come first serve, shortest job first, and priority. I've got the round robin code to work I think I just have no idea how to calculate the average wait time (AWT) or average turn around time(ATT). Here is my code for FCFS algorithm: void FCFS(job jobList[iterationsToRunTest][numJobs], results &output) { queue <job> q; …

Member Avatar
+0 forum 0

Hello everyone. I have limited experience at programming,have been using c and java for a few years. However i am a long time windows user. I recently got a serious assignment for university. I picked programming topic assuming it would be something i would know something about, however the topic was "task scheduling in linux". I am supposed to look into the way linux schedules services and tasks, and "tweek" with it a little bit. I have absolutely no idea where to start, and i don't know (due to my windows-only experience) how to dive in linux's open source goodies. …

Member Avatar
Member Avatar
+1 forum 7

how to develop a gannt chart like this , i mean same like this, having time slices in bottom, like in the attached image. ![gant_chart__cut](/attachments/small/3/gant_chart__cut.png "align-left")

Member Avatar
Member Avatar
+0 forum 3

I have a basketball league with over 100 teams, and I'm trying to organize the look and feel of the schedule, standings, and gym locations for the coaches, players, and parents to view on my website. I'm wondering how I could apply something like the code I posetd below, but with true functionality. If I could link that to an online spreadsheet, that would be ideal. I don't know any php or how to even begin, but I'm willing to learn. Could I use my own personal PC as a server to achieve that? Are there any online servers I …

Member Avatar
Member Avatar
+0 forum 4

I have an assignment question . We need to simulate FCFS scheduling algorithm using C on linux OS. This is what I need to do Write a program to simulate **FCFS scheduling algorithm** using pipes for inter process communication. 1. Let the parent program be the scheduler. 2. It takes as input the number of processes to be scheduled. For each process there is additional information of arrival time and burst time. According to FCFS, the scheduler must schedule the process that enters with the least timestamp first and continue in the order of arrival of processes. 3. Initially the …

Member Avatar
Member Avatar
+0 forum 5

Good day to everyone. I have this trouble of stopping the timer at a specific time, say I have to stop the timer at 1:30. When I try to run it, it doesn't stop. Please help. Here's my C++ code. [CODE] #include <iostream> #include <time.h> using namespace std; void wait ( int seconds ) { clock_t endwait; endwait = clock () + seconds * CLOCKS_PER_SEC ; while (clock() < endwait) {} } int main () { int counter = 0; int seconds = 0; int minutes = 0; for (seconds = 0; seconds < 90; seconds++) { if(seconds == 90) …

Member Avatar
Member Avatar
+0 forum 7

Guys, I need again your help. I have to generate automatically a unique schedule for each subjects with only one click of a button. I'm having trouble with it. Please suggest....here's my codes: [CODE]Do Until conflict = False For y As Integer = 0 To DataGridClass.RowCount - 1 If txtbxClassID.Text <> DataGridClass.Rows(y).Cells(ClassID).Value And txtbxSection.Text = DataGridClass.Rows(y).Cells(SectionEnrolled).Value And txtbxDay.Text = DataGridClass.Rows(y).Cells(Day).Value And (timestart >= DataGridClass.Rows(y).Cells(TimeStart).Value And timestart <= DataGridClass.Rows(y).Cells(TimeEnd).Value) Then conflict = True Exit For End If conflict = False y = y + 1 Next If conflict = True Then txtbxDay.Text = day(GetRandom(0, 5)) timestart = timestart1(GetRandom(0, 15)) timeend = …

Member Avatar
Member Avatar
+0 forum 2

[CODE] #include<stdlib.h> #include<conio.h> #include<stdio.h> #include<iostream.h> struct pro { int no; int btime; int atime; int stime; int etime; int wtime; int ttime; int rtime; }proc[100],junk; void sort(int n) { pro temp; for(int i=0;i<n;i++) for(int j=0;j<n;j++) { if(proc[j].atime>proc[j+1].atime) { temp=proc[j]; proc[j]=proc[j+1]; proc[j+1]=temp; } } } pro min(int n,int & t) { sort(n); pro temp; pro mint; for(int i=0;i<n;i++) for(int j=0;j<n-i-1;j++) { if(proc[j].rtime>proc[j+1].rtime) { temp=proc[j]; proc[j]=proc[j+1]; proc[j+1]=temp; } } int i;int flag=0; for( i=0;i<n;i++) { if(proc[i].rtime>0&&proc[i].atime<=t&&flag==0) { cout<<"return proc id"<<proc[i].no<<endl; return proc[i]; flag++; } } for(int k=0;k<n;k++) { cout<<endl<<proc[k].rtime<<" remaining time of process "<<proc[k].no<<endl; } if(flag) { return mint; } if(proc[n-1].atime>t) { …

Member Avatar
Member Avatar
+0 forum 1

hi, am doing my thesis entitled Automatic Exam Scheduling System. this works when button "GENERATE" is click. that would initialize the automatic assigning of proctors and rooms to classid.....plz help...i can't filter the conflicts of proctors and rooms since it is automated...early tnx...ur response will be greatly appreciated..tnx so much:)

Member Avatar
Member Avatar
+0 forum 2

Every day on his way home, little Billy passes by his great aunt Clara Mitchum's house. Generally he stops in for a chat with his aunt and sometimes he asks for some lollies. When he does, she generally gives him some, but then adds now don't be asking for any more for another N days where N is some positive integer. If N = 1 that means he can ask for some on the next day, but for example if it is April 6 and N = 4 then he must wait until April 10 or later before asking for …

Member Avatar
Member Avatar
+0 forum 1

I have to find a cost optimal solution for staying on campsites. It is kind of weigthed interval scheduling with a given number of intervals (nights). I wonder how to tackle it, dynamic programmic will work for cost optimizatation gernerally but how to build in the restriction on the number of intervalls?

Member Avatar
Member Avatar
+0 forum 8

hey guys thanx for opening this. I want to see how the scheduling is done in my CPU. can i see it practically.

Member Avatar
Member Avatar
+0 forum 1

Hi Expert, I want to set my application (Exe file) to run when some one just start computer and doesn't need to login in to any account. I find a way that set application to run as startup but it requires user to login in to account. But i want to run application without login into computer. Any help is appreciated.....

Member Avatar
Member Avatar
+0 forum 5

Hello,everyone! I have been suffer from a problem as tile says. I have no idea to solve this problem. I hope anyone who can help me! Thanks. The following is the question: In this project, you are going to invent a minimal seek-distance disk scheduler under a given QOS constraint t. We can formulate this problem into a one-to-one mapping problem as follows. Assume that the total number of disk references is N. There are two sequences, the requested sequence, `{A1, A2, …, AN}`, and the scheduled sequence, `{R1, R2, …, RN}`. In the requested sequence, the i-th element Ai …

Member Avatar
Member Avatar
+0 forum 5

Hi I have attached a copy of a round robin schedule I have produced, can someone check this is correct. Process Arrival time Service time 1 0 4 2 1 3 3 3 2 4 5 8 5 7 2 If any errors can someone advise where please

Member Avatar
Member Avatar
+0 forum 2

hi there [B]how do i determine the average Number of Queue Items that leave the queue (example: processes leaving the ready queue in order to be Running in the CPU) per second?[/B] i need this value to calculate for the average waiting time. the formula is: w = n/X where n is the average queue size and X is the average number of queue items leaving the queue per second.

Member Avatar
Member Avatar
+0 forum 2

Whats up guys? I need help my code is not working too great could someone please help me? My Input should be : 03/12 hello there My Output should be : March the 12th: hello there It needs to work for January, February, March, April, May and June. And all dates the input date can be either "03/12" or " 03:12" and i should get the same output. Here is my code: [CODE]def Program(month): if month == "01" : return "January" elif month == "02" : return "February" elif month == "03" : return "March" elif month == "04" : …

Member Avatar
Member Avatar
+0 forum 9

i'd like to ask if to is calculate the turn around time of a particular process is: turn around time = burst time - arrival time ?? and what about response time and waiting time? like in a preemptive scheduling where a process is preempt when a new process enters the ready queue..

Member Avatar
-1 forum 0

Hi, I am facing problems in scheduling the cron to run on first monday of the everymonth. Can anybody help me out? Regards, sri

Member Avatar
Member Avatar
+0 forum 3

A reader at Slashdot [URL="http://ask.slashdot.org/article.pl?sid=09/01/13/222229"]posed an interesting question[/URL] this week. His (or her?) company has instituted a new scheduling policy known as "9/80." It compresses 80 hours of work into only nine days, instead of the more traditional 10. In exchange for working longer days, employees get every other Friday off. The reader wonders about the practicality of such an arrangement and asks, "Is your system flexible? Do you find time to get personal stuff done during the week? Is Friday good for anything other than catching up on lost sleep? And perhaps most important, do your managers respect the …

Member Avatar
+0 forum 0

The End.