Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by erikbjork

  1. erikbjork

    Perl and Cron job problem

    Thank you all for your help! Michael's solution seems to work.
  2. erikbjork

    Perl and Cron job problem

    Thank you all for your replies! Starting from the top... Michael: You're right about that it is not exactly a copy of the script. The print statement for $data[1] is just something I had for debugging. I know that is not working. I also removed many lines of commented code that was not in use...
  3. erikbjork

    Perl and Cron job problem

    I'm not realy sure what you mean, but I hope it will be easier when I post the whole script: ---------------------------------------------------------- #!/usr/bin/perl -W use DBI; # Database info my $db_name = "database"; my $db_user = "user"; my $db_pass = "password"; my...
  4. erikbjork

    Perl and Cron job problem

    Hi! I have a code that works perfectly well when I'm running it from the command line in Linux. But when I'm running it as a cron job it doesn't seem to work. (I'm running it from /etc/crontab) I think I've figured out that it is the split function that stops working. It looks like this: @data...

Part and Inventory Search

Back
Top