Explore Perl on Experts Exchange

Expert Solutions for Your Tech Problems

Perl

Perl is a high-level, general-purpose, interpreted, dynamic programming languages with over 25 years of development. Perl 5 runs on over 100 platfo...

Read more
  • 26K Content
  • 4.2K Contributors

Troubleshooting Solution

Having issues running perl script as cronjob getting 0 output

20
We are having issues with a perl script we run for file count:



We are able to run this script manually and get the output fine:

# perl test.pl
 2020/07/30-19:17:10
 Statistic: 580

Running as a cronjob */5 * * * * perl /filepath/test.pl >> /filepath/test.txt

It outputs 0:

 2020/07/30-19:20:01
 Statistic: 0

Article

Improve Your Web Development Skills With These 6 Courses

1
Enroll in these five web development courses: RESTful Services: Data, JAX-RS and Jersey, RESTful Services: Fundamentals, Selenium Fundamentals, Bootstrap 3.1: Fundamentals, and Perl Fundamentals. Then learn to perform data analysis in Microsoft Excel to measure your success.
Video
Validation of Email Addresses with Regular Expressions

Validation of Email Addresses with Regular Expressions

1
Explain concepts important to validation of email addresses with regular expressions. Applies to …
Courses

Perl Fundamentals

Beginner
This course provides participants with fundamental knowledge of Perl. The course opens with an …
Troubleshooting Solution

awk with column based string search

22
Hi EE,

Please help with below, have partially achieved but would request your help  pls :)

Troubleshooting Solution

json to keyvalue pair in a specific order

10
Hi,

please help

Have a below sample json file. Would like to generate a output of it like …
Troubleshooting Solution

Taking values from an array and using them to match a string

8
Hi, I'm working on a data file with this format:

<%SKU%>unique sku #1
<%PRODUCT_GROUP%>
Troubleshooting Solution

Need a perl wizard to help with POE::Component::Client::Ping Script

7
Hello-

I am an old school VBScript/Javascript guy, but need to write a specific script in perl to…
Troubleshooting Solution

Convert Json to key value pair in linux

4
HI
Could you help please

Have this source json file. Would like to
Article

How do I make .pl run as perl programs on windows

3
On Microsoft Windows, if  when you click or type the name of a .pl file, you get an error "is not …
Article

Downloading Oracle Log Files in AWS RDS

Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
Article
MT DV MySQL

USING MYSQLTUNER

MySQLTuner is a script written in Perl that allows you to review a MySQL installation quickly and make adjustments to increase performance and stability. The current configuration variables and status data is retrieved and presented in a brief format along with some basic performance suggestions.
Troubleshooting Solution

Capture output of switch commands using PERL

14
Please bare with me, I have never used Perl in my life and I'm attempting to modify an existing …
Troubleshooting Solution

re-structure a csv file and output a new file

65
I have a CVS file with thousands of lines and columns. I need to focus on column AM named or any …
Troubleshooting Solution

php to perl

6
Hello,

As our internal web server, we are running Apache 1.3.28, PHP 4.3.5, mysql 5.5.27, and …
Article

Email validation using Regular Expression in Perl

4
Email validation in proper way is  very important validation required in any web pages.
This…
Troubleshooting Solution

Have a perl script, but need it to work on a whole directory not just one file name at a time

51
Hello,  I have a perl script that I need it to look into a directory named mpl.  right now I run it …
Troubleshooting Solution

Shell/Perl scripts to automate periodic changing of Solaris/RHEL passwords

bysunhux
13
Q1:
Without TCL/Expect script, can someone provide  a Shell/Perl script  or way to automate …
Troubleshooting Solution

perl: Spliting strings into parts with REGEX

4
Given the code snippet bellow  I need to extract each Place Name & Coord string

There might be …
Troubleshooting Solution

Editing CSV file

28
Hi
I have an unquoted CSV file that also has columns / cells with comas in
I need to fix it prior …

Do more with Experts Exchange.


Get Answers

Take a Class

Collaborate

Monitor your Site

Explore solutions and more