Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I currently have an application running in a screen. I would like to run some commands in the screen through a cron job but would like to know if this is possible.

Using CentOS

share|improve this question
Why? (What are you trying to accomplish. State your end goal, not intermediate ones.) – voretaq7 Nov 12 '12 at 6:23

Screen manpage says that

-d -m
    Start screen in detached mode. This creates a new session but doesn't
    attach to it. This is useful for system startup scripts.
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.