Description

This function returns a warning if the permissions for the /usr/bin/crontab file are not 4755.


Examples 


$cpanel = new CPANEL(); // Connect to cPanel - only do this once.
$crontab_permissions = $cpanel->api1('Cron', 'crontab_perms'); // Call the function.

my $cpliveapi = Cpanel::LiveAPI->new(); # Connect to cPanel - only do this once.
my $crontab_permissions = $cpliveapi->api1('Cron', 'crontab_perms'); # Call the function.

 

<cpanel Module="Cron::crontab_perms()">
cpapi1 --user=username Cron crontab_perms

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

 

Parameters

This function does not accept parameters.

Returns

This function returns a warning if the permissions for the /usr/bin/crontab file are not 4755.