Skip to content
This repository has been archived by the owner on Apr 5, 2018. It is now read-only.

Error when trying to write crontab #3

Open
thinhpc opened this issue Sep 27, 2017 · 1 comment
Open

Error when trying to write crontab #3

thinhpc opened this issue Sep 27, 2017 · 1 comment

Comments

@thinhpc
Copy link

thinhpc commented Sep 27, 2017

I got this error and don't know why.
I created success many crontab before this error occur.
And maybe it's reach limit crontab size, it's about ~ 500 process lines then it's error.

PHP Fatal error: Uncaught exception 'DomainException' with message 'Error when trying to write crontab : ' in /home/ezsecure/api/crontab/CrontabAdapter.php:114 Stack trace: #0 /home/ezsecure/api/crontab/CrontabRepository.php(161): TiBeN\CrontabManager\CrontabAdapter->writeCrontab('MAILTO=""\n47 23...') #1 /home/ezsecure/api/util/Utils.php(465): TiBeN\CrontabManager\CrontabRepository->persist() #2 [internal function]: TestPR\Utils::createCronJob(Array, true, 'fast') #3 /home/ezsecure/api/util/Utils.php(304): call_user_func_array('\\TestPR\\Utils::...', Array) #4 /home/ezsecure/api/util/Utils.php(665): TestPR\Utils::lockFunction('\\TestPR\\Utils::...', Array, 'lockCrontab') #5 /home/ezsecure/api/start.php(41): TestPR\Utils::makeCrontabforUser(Array) #6 {main} thrown in /home/ezsecure/api/crontab/CrontabAdapter.php on line 114

How can I fix this?

@boboldehampsink
Copy link
Owner

boboldehampsink commented Sep 27, 2017

This looks like a problem with the underlying framework. I suggest you look for a solution at https://github.com/TiBeN/CrontabManager

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants