Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6190777
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T02:39:01+00:00 2026-05-24T02:39:01+00:00

my perl script is not executing in crontab, I dont know how to confirm

  • 0

my perl script is not executing in crontab,

I dont know how to confirm this but Im not seeing the script result or output.

But in the cron log I see a entry like
Jul 28 12:35:01 dvsbi-build crond[13469]: (root) CMD (PATH=/usr/local/bin:/usr/sbin/usr/lib perl /dm2/www/html/isos/preFCS5.3/autodownload.pl)

And I set the cron job as

35 12 * * 2-6 PATH=/usr/local/bin:/usr/sbin/usr/lib perl /dm2/www/html/isos/preFCS5.3/autodownload.pl

Im not able to see the perl script result. In script I have redirected all the debug statements to a LOG file and I dont see the log file update.

the perl script run fine manually from anywhere in terminal by giving path like

perl /dm2/www/html....../autoDownload.pl 

Also I have given full path to the log files inside the script.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T02:39:01+00:00Added an answer on May 24, 2026 at 2:39 am

    You should use the full path to perl in cron. Some implementations of cron restrict usage of environment variables.

    Try to find out where perl is located on your system with which perl like sergio commented.

    Given perl is in /usr/bin try the following:

    35 12 * * 2-6 /usr/bin/perl /dm2/www/html/isos/preFCS5.3/autodownload.pl
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to use a proxy with this perl script but I'm not sure
I'm trying to run this Perl script but it is not running as required.
My perl script is slow but works. I am considering throwing it out and
I have this Perl script with many defined constants of configuration files. For example:
I've got a Perl script that needs to execute another Perl script. This second
Trying to figure this out. I am trying to execute a perl script within
I found this Perl script while migrating my SQLite database to mysql I was
A Perl script (which I do not control) appends lines to the end of
I have this script #!/usr/bin/perl use warnings; use strict; use Data::Dumper; my %acc =
I am having an issue with executing a perl script from php using the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.