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...
User Profile
Collapse
-
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!Leave a comment:
-
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/";...
No activity results to display
Show More
Leave a comment: