User Profile

Collapse

Profile Sidebar

Collapse
overcomersonline
overcomersonline
Last Activity: Feb 22 '08, 03:41 PM
Joined: Feb 20 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • We did a search on Google for the error and made suggested changes and now we are getting this error.

    Final $ should be \$ or $name at /home/onehosts/cronjob/backup.pl line 50, within string
    syntax error at /home/onehosts/cronjob/backup.pl line 50, near "system("mysqld ump --opt --user=onehosts_t hirsty --password=$MySQL RootPassword $name > $BackupPath$""
    Execution of /home/onehosts/cronjob/backup.pl...
    See more | Go to post

    Leave a comment:


  • Thank you for the quick response!

    After making the changes that you suggested we are now getting this error.

    Can't find string terminator '"' anywhere before EOF at /home/onehosts/cronjob/backup.pl line 50.

    Thank you for your help!
    See more | Go to post

    Leave a comment:


  • overcomersonline
    started a topic Help with a Cron Job Getting an error
    in Perl

    Help with a Cron Job Getting an error

    We have a Perl script that is supposed to back up all our files, folders and databases on our server however its sending an error via email. This is the error

    Unrecognized character \xA6 at /home/onehosts/cronjob/backup.pl line 45.

    This is the script
    [code=perl]
    #!/usr/bin/perl

    #### CONFIG ####
    $BackupHour = 3; # TIME TO RUN THE BACKUP

    $BackupPath = "/home/onehosts/cronjob/";...
    See more | Go to post
    Last edited by numberwhun; Feb 20 '08, 05:45 PM. Reason: add code tags
No activity results to display
Show More
Working...