[Fixed]-Cannot run bash script from crontab when it runs from command line bash

1👍

Use absolute paths in your script:

# /home/shivangi/myfile.sh
#!/usr/bin/env bash
/home/shivangi/hunt3/bin/python /home/shivangi/hunt3/manage.py runcrons

Leave a comment