The full terms are in the Hosting Terms of Service. This is the short version of what keeps a shared server a good neighborhood.
Fine: business and personal websites, blogs, online stores, portfolios, email for your organization, web apps on Premium, development and staging copies of your own sites, reasonable cron jobs.
Not fine:
If something on your account is hurting other customers (a hacked site sending spam, a runaway script), we may pause it and email you right away. We would much rather help you fix it than suspend anything, so if you are unsure whether something is okay, ask first.