Crontab wont run python script
问题 When I execute my python script from the command line I have no problems like so: [rv@med240-183 db]$ python formatdb.py [rv@med240-183 db]$ When I try to use crontab to run the script every midnight I get a series of errors: import: unable to open X server `' @ import.c/ImportImageCommand/367. /home/rv/ncbi-blast-2.2.23+/db/formatdb.py: line 2: from: command not found /home/rv/ncbi-blast-2.2.23+/db/formatdb.py: line 3: from: command not found import: unable to open X server `' @ import.c