118 reputation
3
bio website pythonp.com
location Cary, NC
age 21
visits member for 3 years, 6 months
seen Jun 11 at 21:07

Python and Django programmer :D


Mar
31
awarded  Autobiographer
Oct
28
asked Boot linux bootloader from Mac OSX
Jan
16
awarded  Scholar
Jan
16
accepted using cron to run script
Jan
14
awarded  Student
Jan
14
comment using cron to run script
wow, i just noticed that i was trying to access the wrong directory by looking at the output from readlink -f sender.py and the error message, it now works !!, thanks a lot guys for taking the time to help, i really appreciate it :D
Jan
14
comment using cron to run script
thanks, i just tried it and yes it gave me the same error, what do can i do so that it finds it
Jan
14
comment using cron to run script
i tried exporting the SHELL variable and changing it to /bin/sh and then ran the script from the user ashtanga, and it didn't throw an error
Jan
14
comment using cron to run script
nothin in the logs, all i got was a mail from cron with the following error ls: /home/custom-django-projects/SiteMonitor/sender.py: No such file or directory
Jan
14
comment using cron to run script
@ xenoterracide i ran it from root and this was the output /home/custom-django-apps/SiteMonitor/sender.py
Jan
14
comment using cron to run script
thanks for the reply, as recommended by you i tried running the script as ashtanga, first like this: /home/custom-django-apps/SiteMonitor/sender.py , and then with a python in front of the directory, and both times were succesfull, but cron still cant run it
Jan
14
comment using cron to run script
-rwxr-xr-x 1 root root 431 Jan 7 19:42 sender.py
Jan
14
asked using cron to run script