Title: CLI Tasks
Last modified: August 20, 2016

---

# CLI Tasks

 *  [TSM](https://wordpress.org/support/users/tsm/)
 * (@tsm)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/cli-tasks/)
 * I have created a few custom plugins for my site.
    Because the plugins need to
   do some custom tasks ive got another file cron.php that is used to fire off the
   correct function within the plugin. Problem i am seeing is that when i run this
   on the CLI all whitespaces are removed from the output which makes debugging 
   a bit weird. I only see this happen once ive loaded wp-load.php so it seems to
   be be WP related.
 * Why is this happening.

Viewing 1 replies (of 1 total)

 *  Thread Starter [TSM](https://wordpress.org/support/users/tsm/)
 * (@tsm)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/cli-tasks/#post-2545714)
 * I noticed that if i put
    `<pre>` tags around the output it becomes formatted 
   on the CLI, is there a built-in WP function fiddling with the output unless in`
   <pre>` tags?

Viewing 1 replies (of 1 total)

The topic ‘CLI Tasks’ is closed to new replies.

## Tags

 * [cli](https://wordpress.org/support/topic-tag/cli/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [TSM](https://wordpress.org/support/users/tsm/)
 * Last activity: [14 years, 3 months ago](https://wordpress.org/support/topic/cli-tasks/#post-2545714)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
