What are *.php.1 - *.php.2 files? -


can't find on google this.

so, have been playing crons yesterday. have created cron file active , called notidy.php.

today, found copy of file outside of www directory. also, there 15 files named notify.php.1, notify.php.2, notify.php.3 etc. appear empty.

what they? safe remove?

you can remove these files. these files created every time cron job runs, can set auto-delete file after cron job runs.

if using wget:

method 1

to avoid creating such files, should add --delete-after after wget when creating cron job.

example

0 * * * * wget --delete-after -q http://www.example.com/my-cron.php 

method 2

example:

0 * * * * wget -q -o /dev/null http://your.server/script.php 

Comments

Popular posts from this blog

How to connect android app to App engine -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

php - display validation error message next to the textbox in codeigniter -