Hi,
I've got a Perl script that writes a text file and then issues a mysqlimport command through a system call:
system "mysqlimport --user=username --password=pwd --silent=true -d database /path/Table.txt";Whenever I run the script manually from the console as root, it works correctly. However, when it runs at a scheduled time in root's crontab, the mysqlimport system call doesn't get executed (from what I can see, the MySQL table isn't updated).
I would really appreciate any ideas regarding this issue.
Thanks,
Ralph
In reply to System call from cron Perl script by ralphch
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |