now I get: ImportError: No module named django.core.management the directory "django_src" is on my python-path.
On 18 Sep., 12:43, Christian Joergensen <[EMAIL PROTECTED]> wrote: > patrickk wrote: > > I just tried to set up a cronjob with plesk and I got this error: > > > from: can't read /var/mail/django.core.management > > /var/www/vhosts/mydomain.at/www/scripts/cronjobs/mail_editors.py: line > > 4: import: command not found > > /var/www/vhosts/mydomain.at/www/scripts/cronjobs/mail_editors.py: line > > 5: syntax error near unexpected token `settings' > > /var/www/vhosts/mydomain.at/www/scripts/cronjobs/mail_editors.py: line > > 5: `setup_environ(settings)' > > > Here´s the test-script: > > > # coding: utf-8 > > You're missing the shebang line: > > #!/usr/bin/python > > -- > Christian Joergensen | Linux, programming or web > consultancyhttp://www.razor.dk | Visit us at:http://www.gmta.info > > signature.asc > 1KHerunterladen --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---