Crontab
Posted by: gandolfi
Posted on: 2007-03-09 07:37:00
hello,
i use winSCP to access to my site in ssh.
i want to execute a php script every day at 01:00 h.
i can't execute cronjob when i execute this command:
/home/.nur/gandolfi$ 0 0 * * * /usr/local/bin/php -q /home/.nur/gandolfi/bin/cron.php
-bash: line 137: 0: command not found
/home/.nur/gandolfi$ * * * * * /dh/cgi-system/php5.cgi /home/.nur/gandolfi/bin/cron.php
-bash: line 139: cron.file: command not found
/home/.nur/gandolfi$ crontab -e
no crontab for gandolfi - using an empty one
Error opening terminal: unknown.
crontab: "/usr/bin/editor" exited with status 1
thank you