I have two questions.
1. What is the path to perl?
2. Can you enable cron jobs for me? :O
1. What is the path to perl?
2. Can you enable cron jobs for me? :O
| Quote: |
| Path to perl: /usr/bin/perl |
| starta wrote: |
| i have DirectAdmin. It can find the location of perl anywhere.
And cron jobs seem to be disabled. |
| Code: |
|
#!/usr/bin/perl print "Content-type: text/html\n\n"; print "<html>"; print "<head>"; print "<title>Test</title>"; print "</head>"; print "<body>"; print "<h1>Hello World</h1>"; print "</body>"; print "</html>"; |
| starta wrote: |
| what tha heck ?! I'm confused |
| Quote: |
| [2005-10-25 14:14:54]: info: (target/actual) uid: (starta/starta) gid: (starta/starta) cmd: tc.cgi
[2005-10-25 14:14:54]: error: file is writable by others: (/home/starta/domains/starta.frih.net/public_html/cgi-bin/tc.cgi) [2005-10-25 14:15:18]: info: (target/actual) uid: (starta/starta) gid: (starta/starta) cmd: tc.cgi [2005-10-25 14:15:18]: error: file is writable by others: (/home/starta/domains/starta.frih.net/public_html/cgi-bin/tc.cgi) |
| starta wrote: |
| the CGI works now ;D
but does it still say in the logs that it executes every 5 min cause it doesnt seem to work. The file that it is supposed to write to doesnt get updated. If i run i manually ti works. |