Reputation
Top tag
Next privilege 200 Rep.
See reduced ads
Badges
6
Impact
~870 people reached

  • 0 posts edited
  • 0 helpful flags
  • 9 votes cast
Nov
25
accepted Script for backup each DB on server but omit system databases
Nov
25
asked Script for backup each DB on server but omit system databases
Nov
24
awarded  Autobiographer
Nov
12
asked How to add change directory and git pull to this crontab line?
Nov
5
accepted MySQL logs are not working due to permissions
Nov
5
comment MySQL logs are not working due to permissions
@Prem I have updated the answer - take a look - though I am not following you on your statement here must have read&execute permissions for all users can you explain that? Is secure to change those permissions or it can affect any other process logging? And I look the user with ps -ax and it's mysql so it's right
Nov
5
revised MySQL logs are not working due to permissions
added 255 characters in body
Nov
5
accepted Read each directory and perform actions in Bash script
Nov
5
comment Read each directory and perform actions in Bash script
Let us continue this discussion in chat.
Nov
5
asked MySQL logs are not working due to permissions
Nov
4
comment Read each directory and perform actions in Bash script
I can wait until tonight or tomorrow just let me know as soon as you can and I'll be there, thanks
Nov
4
comment Change events order in bash script that writes to crontab
@terdon yes, you're right take a look to the other question I am planning to move into your solution instead this one
Nov
4
comment Read each directory and perform actions in Bash script
... 0 0 * * * find /var/sync/ -name 'Replicator.php' -execdir php {} \; 0 0 * * * find /var/sync/ -name 'sync.php' -execdir php {} \;, which one is the right?
Nov
4
comment Read each directory and perform actions in Bash script
ok, let's see if I am following you on this; I do not need to wait 30 min to run each script I just did this on first because I unknown how to achieve. You're telling me that scripts run sequentially so, first doubt: if I run Replicator.php the sync.php will not run until the execution of Replicator.php ends, is that right? second doubt: the find command will look for each Replicator.php and sync.php scripts under /var/sync right? Third doubt: should I leave the cronjob as you wrote on your answer or should I change it for something like ...
Nov
4
comment Change events order in bash script that writes to crontab
@terdon better now?
Nov
4
revised Change events order in bash script that writes to crontab
added 336 characters in body
Nov
4
asked Change events order in bash script that writes to crontab
Nov
4
comment Read each directory and perform actions in Bash script
I don't need to wait the whole 30 min this is just a approximated period I just need to wait until the previous script ends its execution, so which one to take on this case?
Nov
4
comment Read each directory and perform actions in Bash script
Let us continue this discussion in chat.
Nov
4
comment Read each directory and perform actions in Bash script
Many thanks, sorry while you was editing your answer I was editing my question so pls check the update and tell me if your recently update does that since that's exactly what I am trying to do