LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-15-2008, 07:22 AM   #1
srinivas445
LQ Newbie
 
Registered: Oct 2008
Posts: 1

Rep: Reputation: 0
how to write crontab for cpp program so that it accepts input interactively


how to schedule a cpp program using crontab so that it runs automatically at the scheduled time and prompts the user for input.....
 
Old 10-15-2008, 02:09 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,332
Blog Entries: 55

Rep: Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533
Applications run from crontab commonly don't (or shouldn't) require user input. The easiest example to work around this requires X11, exporting the display envvar and spawning something from say the dialog family.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Only KDE4 menu search accepts keyboard input Mark_667 SUSE / openSUSE 3 08-12-2008 11:39 PM
Using 'AT' and 'CRONTAB' to Schedule Without User Input Jesdisciple Programming 20 03-22-2008 09:53 PM
make c-program that accepts shell commands and execute them boeroe Programming 4 02-18-2005 09:41 AM
Exercise 1-9. Write a program to copy its input to its output, replacing each string zombi3 Programming 3 12-21-2003 03:28 AM
need a shell program cpp file GoboFraggle Programming 1 04-02-2003 11:28 PM


All times are GMT -5. The time now is 08:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration