This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
PHP / Re: PHP Cron Job
« on: January 26, 2025, 02:54:33 AM »
Hi in my case on Almalinux it was
* * * * * /usr/local/bin/php -f /targetdir/RunTasks.php >> /targetdir/logs/errors.log &2>1
as I wanted to append >> an error as well however in my case " &2>1" did not work but works perfectly without it!
does anyone know why?
thought I would post this to help others, if you want the error log also include your usual error settings at the head of the script i.e.
in my case wanted everything
error_reporting(E_ALL); // Error/Exception engine, always use E_ALL
ini_set('ignore_repeated_errors', TRUE); // always use TRUE
ini_set('display_startup_errors', true);
ini_set('display_errors', true); // Error/Exception display, use FALSE only in production environment or real server. Use TRUE in development environment
ini_set('log_errors', TRUE); // Error/Exception file logging engine.
ini_set('error_log', '/targetdir/logs/errors.log'); // Logging file path
* * * * * /usr/local/bin/php -f /targetdir/RunTasks.php >> /targetdir/logs/errors.log &2>1
as I wanted to append >> an error as well however in my case " &2>1" did not work but works perfectly without it!
does anyone know why?
thought I would post this to help others, if you want the error log also include your usual error settings at the head of the script i.e.
in my case wanted everything

error_reporting(E_ALL); // Error/Exception engine, always use E_ALL
ini_set('ignore_repeated_errors', TRUE); // always use TRUE
ini_set('display_startup_errors', true);
ini_set('display_errors', true); // Error/Exception display, use FALSE only in production environment or real server. Use TRUE in development environment
ini_set('log_errors', TRUE); // Error/Exception file logging engine.
ini_set('error_log', '/targetdir/logs/errors.log'); // Logging file path
2
Installation / IP MANAGER
« on: August 08, 2021, 10:00:55 AM »Hi
I have multiple failover IP's, is there an easier way to install multiple IP address, i.e. a file for instance and/or an upgrade for inserting multiple IP's, I have over 40 IP's on one server and it's a real pain when I have to move from one to another.
Regards
Paul
3
CentOS-WebPanel GUI / Re: Cannot see full panel in chrome?
« on: August 03, 2021, 11:22:49 AM »
tried dragging mouse across too (hoping the page would scroll horizontally but it does not) to get to the extra functions like delete etc.
if you look at https://prnt.sc/1i52lv6 I left vertical scroll in the screenshot.......
if you look at https://prnt.sc/1i52lv6 I left vertical scroll in the screenshot.......
Hi Sandeep yes, I have vertical scroll if there was horizontal it would not be great..... but livable....
as it stands if I go to something like "List Accounts" it's a nightmare deleting anything as i have to reduce the view to 25%.
I have chrome version 92.0.4515.131 (Official Build) (64-bit) i's not just on one window but anything that requires the width.
Regards
Paul
4
CentOS-WebPanel GUI / Re: Cannot see full panel in chrome?
« on: August 03, 2021, 09:29:18 AM »
Hi Sandeep yes, I have vertical scroll if there was horizontal it would not be great..... but livable....
as it stands if I go to something like "List Accounts" it's a nightmare deleting anything as i have to reduce the view to 25%.
I have chrome version 92.0.4515.131 (Official Build) (64-bit) i's not just on one window but anything that requires the width.
Regards
Paul
as it stands if I go to something like "List Accounts" it's a nightmare deleting anything as i have to reduce the view to 25%.
I have chrome version 92.0.4515.131 (Official Build) (64-bit) i's not just on one window but anything that requires the width.
Regards
Paul
5
CentOS-WebPanel GUI / Cannot see full panel in chrome?
« on: August 01, 2021, 08:56:32 PM »
I don't know what is going on but the only way I can see my full panel is if i view it @ 25% could someone please advise, there is no scrollbar at bottom of window either?
100% = https://prnt.sc/1i52lv6
25% = https://prnt.sc/1i5308g
any help would be appreciated as it's an annoying bug.
100% = https://prnt.sc/1i52lv6
25% = https://prnt.sc/1i5308g
any help would be appreciated as it's an annoying bug.
Pages: [1]