from django.test import TestCase # Create your tests here. cmd = 'at > /xxx/python /root/project/test.py' import sys sys.exit(0)