Tracking Reminders using Scripts


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Tracking Reminders using Scripts
# 1  
Old 07-28-2010
Tracking Reminders using Scripts

Friends,

I have a script that triggers an reminder e-mail two weeks in advance which will remind the recipient to do a particular task. The problem with this script is, it sends the reminder e-mail 2 weeks before & it send the reminder e-mail only once. It by no means have a logic/functionality to check whether the end user have completed the task or not.

Any idea how can I implement the functionality of tracking the reminder?

I am not stuck only with ksh. Any script that can ease this logic will do good for me. Also, is having a GUI for such task is mandatory? I prefer to do it all in the background. Any ideas or guidance?

---------- Post updated 07-28-10 at 10:11 AM ---------- Previous update was 07-27-10 at 09:05 PM ----------

Any idea people?? So, using GUI is the only way? I mean having a GUI front end to let the user update the status of the reminder. And, having a background php script to do the job of checking the status of a task and decide whether to send the reminder for a task or not? Is this the only available solution? Are there any scripts existing already to do this job?
# 2  
Old 07-28-2010
How can you know the end user have completed the task by shell? Any command can be used for that?

run your_detect_script , if finish, return 1, if not, return 0 to var task, something like this?

Code:
your_task_detect_script 

if [ "$task" =="1" ]; then
  echo "Thank you everyone".
elso
  echo "Working on task ABC" |mailx -S "New job coming" XXX@XXX.com
fi

Put this script in cronjob.
# 3  
Old 07-28-2010
Quote:
How can you know the end user have completed the task by shell? Any command can be used for that?
Yeah you are correct. I do not think we can use any script to know whether the end user has done his task. I have now decided to go with VBA+excel for automating this thing. Like when a user updates a cell with Y/N. Thanks for your reply and time Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

4 More Discussions You Might Find Interesting

1. Red Hat

Tracking Process to a particular

I've tried to see what I can find on my own but I'm coming up with goose eggs. Basically I was wondering if there was a way of querying the scheduler (or something similar) to track a process back to a particular CPU it's executing on at the time of the command. ps has a "cpu" output option but... (1 Reply)
Discussion started by: thmnetwork
1 Replies

2. UNIX for Advanced & Expert Users

Tracking down the problem

Is there a way to track down what process is sending to a certain port? I have some thing pounding the network with requests to a multicast IP that doesn't exist. I have shut down all comms related processes and yet it is still there. Need a way to track the port or IP back to the process. Thanks... (3 Replies)
Discussion started by: mattmanuel
3 Replies

3. UNIX for Advanced & Expert Users

Tracking user

dear all, I'm facing problem that is i have noticed from few days back that some body is deleting and making changes in the file from developement server where i'm working(in unix) so i want to track that who is using the server, what performancr they are doing and each every thing which r... (5 Replies)
Discussion started by: panknil
5 Replies

4. UNIX for Advanced & Expert Users

Command Tracking

Hi, OS: Solaris9, SPARC Is there any way I can track the commands run by users from the shell prompt? Example: Somebody is deleting files from the system. Who it is is a mystery. That person obviously does not use bash prompt so there is no history. Is there anyway I can find out who... (5 Replies)
Discussion started by: mahatma
5 Replies
Login or Register to Ask a Question