LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Blogs > Skaperen
User Name
Password

Notices



Old

Run cron jobs using screen

Posted 09-28-2012 at 01:02 AM by Skaperen
Updated 11-12-2012 at 07:40 PM by Skaperen

I now run many (and soon to be most) of my cron jobs under the screen program. This is easily done by using the screen options "-dmS" followed by the screen session name to use, followed by the command to be run. This will quickly exit, leaving the command running in the disconnected screen session. This seems to work just fine through cron.

You can do this one of two different ways. The simple way is to specify the screen command in the crontab job file directly. Another...
Senior Member
Posted in Uncategorized
Views 1125 Comments 0 Skaperen is offline

  



All times are GMT -5. The time now is 11:49 AM.

Main Menu
Advertisement

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration