166 comments found.
Hi, pre-sale question. On your demo I saw that we can add post values. Is there a way to add timestamp as a variable ? If yes, what would be the tag/shortcode to insert in the field.
Many thanks
Hello. Unfortunately, there is no way to add dynamic values as parameters.
How can I set consider succeeded values ? I get response HTTP/2 404 & HTTP/2 200 from script. What values to put in “consider succeeded if the HTTP message body matches regular expression” first input & “Modifier” input?
Hi. Script considers a successful response when the status code is 2xx, all other statuses are considered as failed. You don’t need to put anything into the “consider succeeded if the HTTP” field because it validates the response body, but not the headers.
Hello! 
Quote:
"This is not a native cron job SYSTEM, you must setup one cron job script on your server to handle all other tasks."
You mean that you need to setup one cron job for the script right? Not for all new crons that you setup oin the script, right?
Also is it possible to set a time- out time according to ones preferences?
Thanks in advance.
Kind regards
AngryWariror
Hello!
This means that there is a “main” PHP script that handles all the jobs created via the web interface.
So, you need to set up that “main” script in your cron tab file (or in cPanel in the cron jobs page) like so:* * * * * /usr/bin/php /path/to/web/root/protected/yii exec >/dev/null 2>&1
You can set a connection/processing timeout individually for each job.
Ok thanks for your answer. 
Last Update: 22 September 2022
Not been updated for over a full year now.
Is your script still maintained and supported?
I was actually going to buy it now, because we need it in our company but it makes me hesitant due to the above. Are you going to update it soon to make it compliant with current PHP version?
Thanks in advance for your answer.
Kind regards
AngryWariror
I plan to add PHP 8.2 support at the end of the year. Currently, 7.4, 8.0 and 8.1 versions are supported.
Thanks for responding and confirming that the script is still supported.
Kind regards
AngryWariror
Hi! Tell me, please, how difficult is it to add or remove tasks programmatically, i.e. not through the web interface, but directly into the database, for example?
Hello,
You can execute the following query to insert a cron job task into the database.
INSERT INTO webcron_schedule (user_id, title, url, type, command_type, expression, status, notify, send_at_server, send_at_user, created_at, modified_at)
VALUES
(
1, # User id. By default it's 1
'Unique title', # Title must be unique
'http://domain.com/trigger' or '/home/user/.bin/sample.sh'
'expression', # leave as is
'url' or 'command',
'* * * * *', # cron expression
'enabled', # leave as is
'fails' or 'after' or 'never',
'send_at_server', # The date when cron jobs starts execution (Keep in mind that the servers's time zone is taken into account).
'send_at_user', # The date when cron jobs starts execution (Keep in mind that the users's time zone is taken into account).
'current_timestamp',
'current_timestamp',
)
Wow! Quick and full reply. Thank you!
Hello,
If we install Cronjobs application in PHP7.4+ enviorment, but in linux cron setup PHP 7.0:- * * * * /usr/bin/php70-cli /path/to/web/root/protected/yii exec
Because many our scripts require PHP 70. Will such a this scheme work?
Hello,
Why not to setup a PHP7.4? Something like:* * * * /usr/bin/php74-cli /path/to/web/root/protected/yii execNo, 7.0 won’t work. If I’m not wrong the bare minimum is 7.3
Wanted to post an updated message here, script is just amazing, way better and easier to work with it instead of ordinary cronjobs.
I run more then 90 different cronjobs and your tool is just a miracle for me
Cheers!
Thank you! I’m glad you enjoy it!
Hi,
I installed the script, and I’m getting following error when I try to login first time:
“An internal server error occurred.
The above error occurred while the Web server was processing your request.”
Suggestion?
Hi,
First of all, did you complete the whole installation guide? https://docs.php8developer.com/web-cronjobs/#/installation
To resolve this issue quickly, please send me cPanel / plesk / etc hosting credentials by email and I’ll fix whatever the reason is.
Regards
It would be great to have a drag drop feature for organizing and arranging cron jobs…
The dnd function will net be added in the near future. You can easily manage cron jobs by categorizing them. The dashboard supports a lot of filters and sorting fields.
Hi, i have installed webcron on my synology server where i have teskmanager activated.
when i run the command.php i get this:
Command: * * * * * /bin/php /volume1/web/cron/protected/yii exec >/dev/null 2>&1
if i put this in my taskmanger it generates error.
it need a command like this : bash /volume1/public/job.sh
would you be kind to guide me ?
Regards Miro
Hello Miro,
First of all ”* * * * * *” is an interval meaning: run script every minute. The command is specified for crontab manager for *unix system.
In your case you need to set an every minute interval in “Schedule” and in “Task Settings” tab “User-defined script” should be:/bin/php /volume1/web/cron/protected/yii exec >/dev/null 2>&1If doesn’t work then try to:
bash /volume1/web/cron/protected/yii exec >/dev/null 2>&1
Regards,
Roman
The answer is based on this video: https://www.youtube.com/watch?v=7vXDUFbNd50&ab_channel=DanielRosehill
I need to be able to “PUT” method but the only option is the Post method. Is there a work around to make this happen or would I need to update the code myself?
Unfortunately, there is no built-in solution for that. You need a custom work around.
Ok, so it is possible but it needs to be a custom addon. What would your fee be for the work around?
It’s a time consuming task. I don’t have time in the near future. I provide installation / configuration / bug fix support for now.
Hello,
Can you, please, give me a hint, what can be the problem with: After installing the script on an Nginx server, cron works on manual testing, but there are no statistics. Location of the script: /www/wwwroot/mydomain.com
Thank you in advance, Goran
Also, I’ve configured Master Cronjob Handler.
Seems like there are some misconfigurations. First of all, make sure that the master’s path is correct and it runs without any errors. To do that run in the console:
php /www/wwwroot/mydomain.com/protected/yii exec
Do you see any errors? If not, check the [protected/runtime/logs/app.log] file.
After running in console: php /www/wwwroot/mydomain.com/protected/yii exec (using my real domain), I have generic respond: Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ”>= 7.4.0”. You are… Actually I am on PHP 8 (also tried with PHP 7.4). app.log is empty
It’s very interesting… Can you send me the result of the following command by email?
whereis php | tr " " "\n" | grep 'bin'
Just a dummy confirmation question. What is the output of the “php -v” command?
As a quick temporary solution: open [root/protected/composer.json]
Search for:
"config": {
"process-timeout": 1800
}
And replace with:
"config": {
"process-timeout": 1800,
"platform-check": false
}
Additional notes to the previous comment:
and run
composer autoload-dump
i have done a purchaise, and now i want to translate it to swedish. I found in prtected/messeges/ the language files. Is it only for me to copy/paste the english language file and create a swedish one? Where do i have to Add the language…. Regards Miro
Hi. Here it is a full guide on how you can localize the app: https://docs.php8developer.com/web-cronjobs/#/configuration?id=app-localization
Hello, can i manage existing cron on the server side with your script?
Hello, This is not a cron job system itself like “crontab” or “at” at Linux – it’s a manager. That means you still need to set up a cron job master (which will run every 1 minute and handle all your imported jobs) and import all your existing cron jobs via the web UI.
Before I buy, Can I install it on local host using the Noip service?
Hi,
If you will run the script on the same machine where Noip is installed, then it will resolve your hosts correctly.
Another thing to mention: Your local machine should support cron task service like crontab on Linux or Task Scheduler on Windows. Also, your local machine must be always up in order to run cron jobs.
i have run cronjob but not working, i have add Master Cronjob Handler but not working, can you help me.
Hi,
Please check your email. You missed part of the script path.
Regards
1.) Is it possible to run this script as a public service?
2.) And if so is there a payment module included to charge potential customers?
Thanks in advance
Kind regards
AngryWarrior
Hi,
No. This script is for private use only. SaaS software is not something successful to sell at a marketplace.
I’m getting this error mesg:
2021-08-25 04:23:58 98.255.110.191c88f03d5c19bc23075799241f27161f2[yii\base\ErrorException:32] yii\base\ErrorException: PHP Startup: Unable to load dynamic library ‘wddx.so’ (tried: /opt/cpanel/ea-php74/root/usr/lib64/php/modules/wddx.so (/opt/cpanel/ea-php74/root/usr/lib64/php/modules/wddx.so: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php74/root/usr/lib64/php/modules/wddx.so.so (/opt/cpanel/ea-php74/root/usr/lib64/php/modules/wddx.so.so: cannot open shared object file: No such file or directory)) in Unknown:0
This is a hosting related issue. Please contact your hosting provider and ask to properly configure php.ini file.
if I have multiple cron jobs at the same time the system only runs one.
Hi. Just added two every minute tasks at demo website and it worked. Can you send me FTP credentials and website login credentials? I’ll take a look what is wrong.
Please, can you give a link for instructions for updating?
Hello,
The documentation is online available: https://docs.php8developer.com/web-cronjobs/#/changelog
P.S. Before update download and run requirements.php file to see whether you can run updated version. https://webcron.php8developer.com/requirements.phpLet me know if you need further assistance.
Hi, When i try to import your dumy Db i get following error:
Unable to import the webcron dump: ERROR 1293 (HY000) at line 234: Incorrect table definition; there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT or ON UPDATE clause program ‘mysql’ finished with non-zero exit code: 1
Hi. What is your MySQL version?
Hi, It`s Maria DB 5.5 (MySql 5.5)
`registered_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,replace with
`registered_at` timestamp DEFAULT NULL,Then, re-import dump file.