Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8327525
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T01:08:25+00:00 2026-06-09T01:08:25+00:00

I want to run my development django server at startup so I defined following

  • 0

I want to run my development django server at startup so I defined following cron job:

@reboot screen -d -m django-admin.py runserver 192.168.0.28:8000

But it didn’t work.

What is really interesting, when I copy/paste directly to terminal and execute it works just fine.

I even tried something like this:

@reboot cd /home/ubuntu && /usr/bin/screen -d -m /usr/bin/python /usr/local/bin/django-admin.py runserver 192.168.0.28:8000 &> /home/ubuntu/cron.err

To be sure I’m not using some undefined commands in wrong location and examined contents of cron.err file but it’s empty.

And (of course) when I fire this directly from the console it works immediately.

Please help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T01:08:27+00:00Added an answer on June 9, 2026 at 1:08 am

    Does it work if you try and run it from cron at a specific time? Eg:

    50 12 2 8 * /usr/bin/screen -dmS set_from_cron
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm running my app on the GAE development server, with app-engine-patch to run Django.
We run a project in which we want to solve with test driven development.
I have written php program and uploaded on server. I want run this program
when i run development server it works very well, even an empty project runing
I want to run few commands when i start application on server. So, i
I have django 1.3 on the remote server behind Nginx. If I run django
I want to run a command just before the a django command is started.
I want to run Eclipse Java Development Tools form source code, but I'm stuck
I am new to Android development and I want to run PING command through
I have some logic I want to run on the server-side. It's implemented in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.