Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
not sure i understand first comand takes me to a manual for something called crontab the second seems more promising but its a pl file i need ran not a exe (or sh forget what executables are called in linux)
maybe you need to give the complete PATH of hlstats-awards.pl
regards,
slackie1000
im unable to write perl (no experience) i have to admit this perl file is part of a counter-strike server stat page http:\\grimreaper.uk.to\tr\hlstats.php it generates the dialy awards (though its been edited to include the last seven days instead(the servers not run every day)
thank you for the help will let you know 2morro if it works lol (wont know till then i guess)
hi there,
how did you proceed? did you give the complete path of your perl script in the script? could be that you have some permission issue? trying to write something in some directory that you can't?
regards,
slackie1000
hi there,
how did you proceed? did you give the complete path of your perl script in the script? could be that you have some permission issue? trying to write something in some directory that you can't?
regards,
slackie1000
followed your instructions on permissions
gave it an absolue pathe
the pl file it opens is 777 in permission
and it writes to a sql file (with root access inside the pl file)
/serv/www/htdocs/tr/perl/perl does not exist
i have changed it to perl /srv/www/htdocs/tr/perl/hlstats-awards.pl
but when i execute the command i get i get a load of errors
so i changed it to
#!/bin/sh
cd /srv/www/htdocs/tr/perl/
perl hlstats.awards.pl
that seems to work fine when issued from the command line but no idea how it will fair dially well let you guys know in a couple of days
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.