Announcement

Collapse
No announcement yet.

Cron error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Cron error

    I have a faily trivial perl script that does a file copy
    Well it works very well when triggered from my browser, but when scheduled by cron I get error

    Failed script line is
    Code:
    copy($image_wanted, $new_file) or die "File cannot be copied.";
    it fails with die

    Error message is
    File cannot be copied. at /home/mpcom/public_html/datewk.pl line 12.

    I tried to chmod $new_file directory to 777 755 or 644 without success

    Any clue with this ?
    Thanks
    Pierre

  • #2
    Leetoto, please contact the cPanel support team about this issue by either opening a support ticket from your billing account with us or by sending an e-mail with a description of the issue that you have encountered to cpanel[at]resellerspanel.com.

    Comment

    Working...
    X