Think first. Code later.

Adam Grocholski

Subscribe to Adam Grocholski: eMailAlertsEmail Alerts
Get Adam Grocholski via: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn

Related Topics: Ubuntu Linux Journal, SEO Journal, Azure Cloud on Ulitzer

Blog Feed Post

Azure CLI Day 40 – mobile job delete


In my previous post (http://thinkfirstcodelater.com/blog/?p=3387) I showed you how to use the Windows Azure Cross Platform command line tools to update a scheduled job associated with a Windows Azure Mobile Services. In this post I’ll show you how to use the tools to delete a scheduled job.

Once again, just a reminder that I’m using the command line tools on a MacBook Air with OSX (Mavericks) installed, and I’m using Google Chrome as my default browser. However, the experience should be identical on Windows and Linux as well.

Open an instance of your command line (Terminal, Bash, Command Prompt, etc.) and type the following:

azure mobile job delete -h

Screen Shot 2013-10-22 at 6.41.19 PM

As you can see the azure mobile job delete command is the command to use to delete a job associated with a Windows Azure Mobile Service. You simply need to provide the name of the mobile service the job you want to delete is associated with as well as the name of the job itself.

To proceed with deleting a scheduled job, enter the following into your CLI, substituting where appropriate:

azure mobile job delete ‘[YOUR MOBILE SERVICE NAME]‘ ‘[YOUR JOB NAME]‘

I entered the following:

azure mobile job delete ‘zumo-00005′ ‘myFirstJob’

Screen Shot 2013-10-22 at 6.45.05 PM

Once the command completes, you can use the azure mobile job list command to verify the job has been deleted by entering the following, making the necessary substitutions:

azure mobile job list ‘[YOUR MOBILE SERVICE NAME]‘

I used the following:

azure mobile job list ‘zumo-00005′

Screen Shot 2013-10-22 at 6.47.14 PM

That’s it for working with Windows Azure Mobile Services scheduled jobs from the command line. In my next post I’ll show you how to use the cross platform command line tools to scale your Windows Azure Mobile Services.

Did you know you can try Windows Azure for free for 30 days? Just go to http://aka.ms/thecloud and sign up.

Read the original blog entry...

More Stories By Adam Grocholski

Hey there! My name is Adam Grocholski, and I'm a Technical Evangelist at Microsoft where I spend time focusing on Windows, Windows Phone, and Windows Azure. I live in the frozen tundra of Minnesota and run thinkfirstcodelater.com. You can also follow me on twitter at @codel8r.