Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7664065
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T14:12:35+00:00 2026-05-31T14:12:35+00:00

A cronjob executes a script every 10 minutes, to capture the fan count of

  • 0

A cronjob executes a script every 10 minutes, to capture the fan count of facebook
fanpages. E.g. 3 pages are under observation right now, than the
sum of data which is generated in a hour is 18 (6/hour/page).
The results are stored in a database (queryid, name, likes, timestamp)

Now I want to display a value e.g. each hour (each 30 minutes whatever) of a valuable (24 hours, 48 hours whatever) timerange, and not the complete values of a day (2592 vs. 72 rows)
How is this possible?

I hope you’ll understand my problem 😉

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T14:12:37+00:00Added an answer on May 31, 2026 at 2:12 pm

    MySQL leys you GROUP BY HOUR(FROM_UNIXTIME( column )). Or by DAY, HOUR and even DAYOFMONTH . That should do give you some options too look at.

    The full list would be in the manual. You should be able to order by any function which returns a value.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to set a cronjob entry that runs a script every 30 minutes
I want to setup a cronjob to execute a shell script every 5 minutes
I'm writing a backup script I intend to execute in a cronjob every night.
I have a cron job running a PHP script every five minutes; the PHP
So I have a cronjob which executes a PHP script like so: 0 0
I am trying to setup a cronjob to execute a script every minute. My
I'm running a cronjob that calls a php script. I get failed to open
I have a cronjob calling a shell script. Inside that shell script and I
There is some way to execute a php script every 40 milliseconds? I don't
I have a simple cronjob running every day at 18:35: 05 18 * *

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.