Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

How to delete cronjob log after executed? Topic is solved

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
JTorres
Posts: 9
Joined: Mon Jun 21, 2021 8:09 pm

Os: CentOS 6x
Web: apache + nginx
How to delete cronjob log after executed?
  • Quote

Post by JTorres » Mon Jun 21, 2021 8:15 pm

Hi.
I created a cronjobs to call a php file every 5 minutes like:

wget http://www.server.com/file.php

The site admin folder is full of log files with the name of the file and a number like "file.php.256"

Its possible to create a cronjobs to call a php file but that doesnt save this files?

Thanks !
Top

JTorres
Posts: 9
Joined: Mon Jun 21, 2021 8:09 pm

Os: CentOS 6x
Web: apache + nginx
Re: How to delete cronjob log after executed?
  • Quote

Post by JTorres » Mon Jun 21, 2021 8:26 pm

I solved chaning wget to curl
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password