cancel
Showing results for 
Search instead for 
Did you mean: 
New

Perl cron job

I  am setting first time cron job.

 

This is  my command...and it doesn't seem to work.

perl /home/username/public_html/cgi-bin/myscript.pl

 

I have :

#!/usr/bin/perl as my first line in the script

permissions are set to 755

the script works from ssh and calling it via browser

 

It is  a simple script that  deletes a bunch of  jpgs in a folder.

 

I feel like cron job are working because I typed the folder wrong and got an email indicating no such path.   When I fixed to above, I don't get any emails nor do my files get deleted.

 

 

 

 

 

 

2 REPLIES 2
Moderator
Moderator

Re: Perl cron job

Hey @Cal4,

 

You might want to call in to our live support for our direct advise from our hosting team. They can at least verify for certain if the cron script is running in your account. 

 

CG - GoDaddy | Community Moderator
24/7 support available at x.co/247support
New

Re: Perl cron job

Thanks...I don't have a lot of time to call support.   Was hoping for something here.    

I converted it to php and that one works via  cron