Title: Question about PHP-Cron
Last modified: April 17, 2020

---

# Question about PHP-Cron

 *  Resolved [Ole](https://wordpress.org/support/users/olpo24/)
 * (@olpo24)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/question-about-php-cron/)
 * Hi,
    Just a stupid.
 * For Example: I created a PHP-Cron. In the PHP-Cron a file is created (without
   path).
    Where do the Plugin (or the php-Cron) save the file?

Viewing 1 replies (of 1 total)

 *  Plugin Author [John Blackbourn](https://wordpress.org/support/users/johnbillion/)
 * (@johnbillion)
 * WordPress Core Developer
 * [6 years, 1 month ago](https://wordpress.org/support/topic/question-about-php-cron/#post-12689510)
 * You should use an absolute path for your file (eg by using `ABSPATH` or `WP_CONTENT_DIR`),
   otherwise the location will depend entirely on what system is running your Cron(
   eg. default cron, alternate cron, Cavalcade).

Viewing 1 replies (of 1 total)

The topic ‘Question about PHP-Cron’ is closed to new replies.

 * ![](https://ps.w.org/wp-crontrol/assets/icon.svg?rev=3539529)
 * [WP Crontrol](https://wordpress.org/plugins/wp-crontrol/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-crontrol/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-crontrol/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-crontrol/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-crontrol/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-crontrol/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [John Blackbourn](https://wordpress.org/support/users/johnbillion/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/question-about-php-cron/#post-12689510)
 * Status: resolved