Unable to add / delete cron jobs

hendrix74

Verified User
Joined
Apr 14, 2005
Messages
30
Hi,

We cannot create nor delete any cron jobs. I know we can't delete any cron jobs (even though we can't create any) because there are some accounts which have been transfered from another DirectAdmin server that already had some cron jobs. So there are some existing cron jobs that came from an account transfer which we can't delete.

Here's the error message from a cron job creation:
------------------------------------------------------
Error Creating Cron Job

Details
------------------------------------------------------
But there's no further details about the error.

This is the error message from a cron job deletion attempt:
------------------------------------------------------
Error Deleting Cron Job(s)

Details
------------------------------------------------------
But there's no further details about the error neither.

Please note that existing cron jobs are not executed at all. I know the cron daemon is working properly as other jobs entered manually through the crontab files (or other cron directories such as cron.daily) are working.

We are running DirectAdmin 1.25.4 on CentOS 4.1 (RHEL4).

Your help would be appreciated.

Best regards,
Stéphane Brault
OrbitHosting.com
 
Was your old server running the same opeating and same version of DirectAdmin?

Login as root and manually delete the cron files from the users directadmin data directory. /usr/local/directadmin/data/users/username/

That should delete existing ones, then try to create a new cronjob letting DirectAdmin create the file with the proper permissions. If that doesn't work, contact directadmin.
 
It was effectively because of a wrong cron entry format that was restored from another server...

Deleted the cron entry and everything's ok now.

Thanks to John from DA :D
 
Back
Top