Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-02-2005, 06:50 AM   #1
Registered: Jun 2002
Posts: 302

Rep: Reputation: 31
Running Screen in a cron job

I'm trying to run screen in a cron job and tried using both the -d and -m options but it doesn't run. Any ideas? Thanks for your time...
Old 08-03-2005, 01:11 AM   #2
Registered: Jun 2002
Posts: 302

Original Poster
Rep: Reputation: 31
I found out how to run it. In case anybody's interested, I do something like:

15 7 * * * /usr/bin/screen -dmS nameofsession commandIwantToRunInScreen


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
script not running as a cron job sanjith11 Programming 5 11-23-2004 09:42 AM
cron job not running vincebs Linux - Software 34 10-30-2004 02:27 PM
Cron job not running in slackware9.1 marri Linux - Software 2 05-06-2004 07:54 AM
Cron job not running? james_cwy Linux - Newbie 6 12-14-2003 09:24 PM
Cron Job Not Running pzorn Linux - General 4 10-02-2003 02:38 PM > Forums > Linux Forums > Linux - Software

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

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