Jump to content

Cron Job Missing


rnmcd
 Share

Recommended Posts

HI.

 

I had a cron job set up (for dbsender.php) but I am now getting this email:

 

<br />

<b>Fatal error</b>: Allowed memory size of 33554432 bytes exhausted (tried to

allocate 33533189 bytes) in <b>/home/username/dbsender/dbsender.php</b> on line

<b>108</b><br />

 

I also noticed that my cron job is no longer in the Cron Jobs section of cPanel.

There is a message on my cPanel > Cron Jobs page:

/usr/bin/crontab permissions are wrong. Please set to 4755

 

Any idea what happened or how to remedy this?

 

Thanks.

Link to comment
Share on other sites

I had a look at the script and if not the part:

$use_ftp = "no"; // Do you want this database backup uploaded to an ftp server? Fill out the next 4 lines

$ftp_server = "localhost"; // FTP hostname

$ftp_user_name = "ftp_username"; // FTP username

$ftp_user_pass = "ftp_password"; // FTP password

$ftp_path = "/"; // This is the path to upload on your ftp server!

is filled out I don´t think that the script will save the backup on your server, but you could check if there are any emails/messages in your cpanelname@yourdomainname.ext through the webmail that are taking up this space.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...